@font-face {
  font-family: "Basel";
  src: url("./fonts/Basel-Grotesk-Book.woff2") format("woff2");
  font-weight: 485;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Basel";
  src: url("./fonts/Basel-Grotesk-Medium.woff2") format("woff2");
  font-weight: 535;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: dark;
  --dl-accent: #ff5521;
  --dl-accent-soft: rgb(255 85 33 / 0.12);
  --dl-bg: #111111;
  --dl-bg-hover: #202020;
  --dl-text: #f7f7f8;
  --dl-text-muted: #b6bdc8;
  --dl-text-faint: #737b88;
  --dl-topbar-bg: #111111;
  --dl-topbar-bg-glass: rgb(17 17 17 / 0.9);
  --dl-nav-surface: rgb(255 255 255 / 0.055);
  --dl-nav-surface-hover: rgb(255 255 255 / 0.1);
  --dl-stat-divider: rgb(255 255 255 / 0.11);
  --dl-search-key-bg: rgb(255 255 255 / 0.08);
  --dl-row-surface: rgb(255 255 255 / 0.055);
  --dl-row-hover: rgb(255 255 255 / 0.08);
  --dl-positive: #39d889;
  --dl-negative: #ff7474;
  --hero-accent: #ffffff;
  --liquidity-base: #f7f7f8;
  --liquidity-quote: #8a8a8a;
  --trade-action-bg: rgb(255 85 33 / 0.16);
  --trade-action-hover: rgb(255 85 33 / 0.24);
  --trade-action-text: #ff7b4d;
  --explorer-page-max: 1270px;
  --explorer-outer-gutter: 15px;
  --explorer-text-inset: 0.95rem;
  --explorer-nav-row-left: max(3.75px, calc((100vw - 1600px) / 2));
  --explorer-nav-label-x: calc(var(--explorer-nav-row-left) + 124.86px);
  --explorer-section-left: max(
    var(--explorer-outer-gutter),
    calc(var(--explorer-nav-label-x) - var(--explorer-text-inset))
  );
  --font-main: "Basel", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font: 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;
}

body.dl-body {
  min-height: 100%;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: var(--font-main);
  font-weight: 535;
  text-rendering: geometricPrecision;
}

body.dl-body:has(.signup-page-view.page-view--active) {
  background: #000000;
}

body.dl-body.light:has(.signup-page-view.page-view--active) {
  background: #f4f4f2;
}

body.dl-body.light,
.light .dl-empty-page {
  color-scheme: light;
  --dl-accent: #ff5521;
  --dl-accent-soft: rgb(255 85 33 / 0.11);
  --dl-bg: #ffffff;
  --dl-bg-hover: #f7f7f7;
  --dl-text: #18130f;
  --dl-text-muted: #5e544d;
  --dl-text-faint: #8a7d73;
  --dl-topbar-bg: #ffffff;
  --dl-topbar-bg-glass: rgb(255 255 255 / 0.9);
  --dl-nav-surface: rgb(17 17 17 / 0.035);
  --dl-nav-surface-hover: rgb(17 17 17 / 0.025);
  --dl-stat-divider: rgb(17 17 17 / 0.11);
  --dl-search-key-bg: rgb(17 17 17 / 0.07);
  --dl-row-surface: rgb(17 17 17 / 0.045);
  --dl-row-hover: rgb(17 17 17 / 0.065);
  --dl-positive: #0e9958;
  --dl-negative: #c84242;
  --hero-accent: #050505;
  --liquidity-base: #111111;
  --liquidity-quote: #9a9a9a;
  --trade-action-bg: rgb(255 85 33 / 0.12);
  --trade-action-hover: rgb(255 85 33 / 0.19);
  --trade-action-text: #ff5521;
}

.dl-empty-page {
  min-height: 100vh;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: var(--font-main);
  font-weight: 535;
}

.dl-topbar {
  --fd-nav-height: 56px;
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background 180ms ease,
    backdrop-filter 180ms ease,
    -webkit-backdrop-filter 180ms ease;
}

.dl-topbar--glass {
  background: transparent;
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
}

.dl-empty-page:has(.page-view[data-page-view="pools"].page-view--active)
  > .dl-topbar[data-docs-topbar],
.dl-empty-page:has(.page-view[data-page-view="signup"].page-view--active)
  > .dl-topbar[data-docs-topbar],
.dl-empty-page:has(.page-view[data-page-view="login"].page-view--active)
  > .dl-topbar[data-docs-topbar] {
  display: none;
}

.liquidity-pools-topbar,
.liquidity-pools-topbar.dl-topbar--glass {
  background: var(--dl-row-surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.dl-topbar-r1 {
  display: flex;
  width: calc(100% - 7.5px);
  max-width: 1600px;
  min-height: var(--fd-nav-height);
  align-items: center;
  gap: clamp(1.4rem, 2.4vw, 2.75rem);
  margin: 0 auto;
  padding-inline: 0;
}

.dl-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.5rem;
  margin: 0;
  padding: 0 0.18rem 0 0.18rem;
  border: 0;
  background: transparent;
  color: var(--dl-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 535;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.dl-brand img {
  width: 24.48px;
  height: 24.48px;
  display: block;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  flex: 0 0 auto;
}

.dl-brand-text {
  display: grid;
  align-items: start;
  justify-items: start;
  gap: 0;
  line-height: 0.96;
  text-align: left;
}

.dl-brand-title {
  color: var(--dl-text);
  font-size: 0.9rem;
  font-weight: 535;
  letter-spacing: 0;
  line-height: 0.96;
}

.dl-brand-subtitle {
  color: var(--dl-text-muted);
  font-size: 0.9rem;
  font-weight: 535;
  letter-spacing: 0;
  line-height: 0.96;
}

.dl-brand-word-rotate {
  position: relative;
  display: grid;
  width: 4.75rem;
  height: 0.9rem;
  overflow: hidden;
  color: inherit;
  line-height: 0.96;
}

.dl-brand-word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(110%);
  animation: brand-word-rotate 6s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}

.dl-brand-word:nth-child(2) {
  animation-delay: 2s;
}

.dl-brand-word:nth-child(3) {
  animation-delay: 4s;
}

@keyframes brand-word-rotate {
  0% {
    opacity: 0;
    transform: translateY(110%);
  }

  8%,
  28% {
    opacity: 1;
    transform: translateY(0);
  }

  36%,
  100% {
    opacity: 0;
    transform: translateY(-110%);
  }
}

@keyframes pools-view-fade-in {
  from {
    opacity: 0.28;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pools-volume-segment-in {
  from {
    flex-basis: 0;
    opacity: 0.18;
    filter: saturate(0.72);
  }

  to {
    flex-basis: var(--segment-height);
    opacity: 0.82;
    filter: saturate(1);
  }
}

@keyframes pools-chart-bars-in {
  from {
    opacity: 0.64;
    transform: translate3d(0, 5px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pools-table-row-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-brand-word {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .dl-brand-word:not(:first-child) {
    display: none;
  }

  .pools-view-switching .pools-chart-card__metric,
  .pools-view-switching .pools-chart-legend,
  .pools-view-switching .pools-bars,
  .pools-view-switching .pools-most-traded-header,
  .pools-view-switching .explorer-table__head,
  .pools-view-switching .explorer-row,
  .pools-chart-legend span,
  .volume-bar__segment {
    animation: none;
  }

  .pools-chart-tab,
  .volume-bar__segment {
    transition: none;
  }

  .signup-code-bg,
  .signup-code-bg > span,
  .signup-story-side::before,
  .signup-code-bg--syntax {
    transition: none;
    transform: none !important;
  }
}

.dl-topbar-actions {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  justify-self: end;
  margin-left: auto;
  padding-right: 0.78rem;
  gap: 0.72rem;
}

.dl-iconbtn {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dl-text-faint);
  cursor: pointer;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.dl-iconbtn:hover,
.dl-iconbtn:focus-visible {
  background: rgb(255 255 255 / 0.055);
  color: var(--dl-text);
  outline: none;
}

.dl-signup-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 0.82rem;
  border: 0;
  border-radius: 9px;
  background: var(--trade-action-bg);
  color: var(--trade-action-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.dl-signup-button:hover,
.dl-signup-button:focus-visible {
  background: var(--trade-action-hover);
  color: var(--trade-action-text);
  outline: none;
}

.dl-login-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 0.28rem;
  border: 0;
  background: transparent;
  color: var(--dl-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 535;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease;
}

.dl-login-button:hover,
.dl-login-button:focus-visible {
  color: var(--dl-text);
  outline: none;
}

.dl-topbar-nav {
  position: relative;
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  gap: 0.045rem;
  padding: 0.22rem 0.32rem 0.22rem 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.light .dl-topbar-nav {
  background: transparent;
}

.dl-nav-main,
.dl-nav-api {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 0.18rem;
}

.dl-nav-api {
  margin-left: 0;
}

.dl-navlink {
  position: relative;
  display: inline-flex;
  height: 34px;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0 0.62rem;
  border: 0;
  border-radius: 9px;
  appearance: none;
  background: transparent;
  color: var(--dl-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 535;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.dl-navlink::after {
  display: none;
  content: none;
}

.dl-navlink:hover,
.dl-navlink:focus-visible {
  background: rgb(255 255 255 / 0.08);
  color: var(--dl-text);
  outline: none;
}

.light .dl-navlink:hover,
.light .dl-navlink:focus-visible {
  background: rgb(255 255 255 / 0.42);
}

.dl-navlink.dl-navlink--active {
  background: rgb(255 85 33 / 0.1);
  color: var(--dl-accent);
}

.dl-chev {
  width: 14px;
  height: 14px;
  opacity: 0.55;
  transition: transform 160ms ease;
}

.dl-navgroup {
  position: relative;
  display: inline-flex;
}

.dl-navgroup:hover .dl-chev,
.dl-navgroup:focus-within .dl-chev {
  transform: rotate(180deg);
}

.dl-navgroup::after {
  position: absolute;
  top: 100%;
  right: -0.75rem;
  left: -0.75rem;
  height: 6px;
  content: "";
}

.dl-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 3px);
  left: 0;
  display: none;
  width: max-content;
  min-width: 112px;
  padding: 0.34rem;
  border: 0;
  border-radius: 12px;
  background: #1f1f1f;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.light .dl-menu {
  background: #f7f7f7;
}

.dl-nav-api .dl-menu {
  right: 0;
  left: auto;
  min-width: 132px;
}

.dl-navgroup--end .dl-menu {
  right: 0;
  left: auto;
}

.dl-navgroup:hover .dl-menu,
.dl-navgroup:focus-within .dl-menu {
  display: grid;
  gap: 0.08rem;
}

.dl-menu-item {
  display: grid;
  min-height: 32px;
  align-items: center;
  grid-template-columns: 1fr;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--dl-text-muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.dl-menu-item:hover,
.dl-menu-item:focus-visible {
  background: var(--dl-bg-hover);
  color: var(--dl-text);
  outline: none;
}

.dl-menu-title {
  font-size: 0.92rem;
  font-weight: 535;
}

.dl-sun-icon {
  width: 17px;
  height: 17px;
}

.explorer-hero {
  width: min(
    var(--explorer-page-max),
    calc(100% - var(--explorer-section-left) - var(--explorer-outer-gutter))
  );
  margin: 0 auto 0 var(--explorer-section-left);
  padding: 3.625rem 0 0;
}

.explorer-hero__copy {
  max-width: 1180px;
  margin: 0 var(--explorer-text-inset);
}

.explorer-hero__title {
  margin: 0;
  color: var(--dl-text);
  font-size: 1.3056rem;
  font-weight: 535;
  letter-spacing: 0;
  line-height: 1.18;
}

.explorer-hero__accent {
  color: var(--hero-accent);
}

.explorer-hero__subtitle {
  max-width: 1180px;
  margin: 0;
  color: var(--dl-text-muted);
  font-size: 1.3056rem;
  font-weight: 485;
  letter-spacing: 0;
  line-height: 1.18;
}

.explorer-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2.2rem var(--explorer-text-inset) 0;
}

.explorer-stat {
  display: grid;
  min-height: 61.5px;
  align-content: center;
  gap: 0.34rem;
  padding: 0.68rem 0 0;
  border-right: 1px solid var(--dl-stat-divider);
}

.explorer-stat:nth-child(4n) {
  border-right: 0;
}

.explorer-stat:nth-child(n + 5) {
  border-top: 1px solid var(--dl-stat-divider);
}

.explorer-stat:nth-child(2),
.explorer-stat:nth-child(3),
.explorer-stat:nth-child(4),
.explorer-stat:nth-child(6),
.explorer-stat:nth-child(7),
.explorer-stat:nth-child(8) {
  padding-left: 0.525rem;
}

.explorer-stat__label {
  position: relative;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  color: var(--dl-text-muted);
  cursor: help;
  font-size: 0.855rem;
  font-weight: 485;
  letter-spacing: 0;
  line-height: 1.05;
  transition: color 160ms ease;
}

.explorer-stat__label:hover,
.explorer-stat__label:focus-visible {
  color: var(--dl-text);
  outline: none;
}

.explorer-stat__label::before {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 8px);
  left: 50%;
  width: max-content;
  max-width: 280px;
  padding: 0.5rem 0.62rem;
  background: var(--dl-bg-hover);
  color: var(--dl-text-muted);
  content: attr(data-tooltip);
  font-size: 0.78rem;
  font-weight: 485;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 4px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.explorer-stat__label:hover::before,
.explorer-stat__label:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.explorer-stat__value {
  color: var(--dl-text);
  font-size: 1.207rem;
  font-weight: 485;
  letter-spacing: 0;
  line-height: 1;
}

.explorer-search {
  display: flex;
  width: calc(100% - (var(--explorer-text-inset) * 2));
  min-height: 46.8px;
  align-items: center;
  gap: 0.68rem;
  margin: 0.95625rem var(--explorer-text-inset) 0;
  padding: 0 0.78rem;
  border: 0;
  border-radius: 0;
  background: var(--dl-nav-surface);
  color: var(--dl-text-muted);
  cursor: pointer;
  text-align: left;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.explorer-search:hover,
.explorer-search:focus-visible {
  background: var(--dl-nav-surface-hover);
  color: var(--dl-text);
  outline: none;
}

.explorer-search:hover .explorer-search__icon,
.explorer-search:focus-visible .explorer-search__icon,
.explorer-search:hover .explorer-search__key,
.explorer-search:focus-visible .explorer-search__key {
  color: var(--dl-text);
}

.explorer-search__icon {
  flex: 0 0 auto;
  color: var(--dl-text-faint);
}

.explorer-search__placeholder {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: clamp(0.765rem, 1.0328vw, 0.9563rem);
  font-weight: 485;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explorer-search__key {
  display: inline-flex;
  min-width: 31px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--dl-search-key-bg);
  color: var(--dl-text-muted);
  font-size: 0.78rem;
  font-weight: 535;
  line-height: 1;
}

.explorer-table-section {
  width: min(
    var(--explorer-page-max),
    calc(100% - var(--explorer-section-left) - var(--explorer-outer-gutter))
  );
  margin: 2.55rem auto 0 var(--explorer-section-left);
  padding-bottom: 0;
}

.explorer-table-section + .explorer-table-section {
  margin-top: 2.05rem;
}

.page-view > .explorer-table-section:last-of-type {
  padding-bottom: 4rem;
}

.explorer-table-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--dl-stat-divider);
  padding: 0 var(--explorer-text-inset) 0.7rem;
}

.explorer-table-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1.15rem;
}

.explorer-table-heading-stack {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.72rem;
}

.explorer-table-heading h2 {
  margin: 0;
  color: var(--dl-text);
  font-size: 1.3056rem;
  font-weight: 485;
  letter-spacing: 0;
  line-height: 1;
}

.verified-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.verified-heading__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #22c55e;
  stroke-width: 2.15;
  transform: translateY(0.5px);
}

.explorer-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  padding: 0 0 0 1rem;
  border: 0;
  border-left: 1px solid var(--dl-stat-divider);
  background: transparent;
  color: var(--dl-text-muted);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 485;
  line-height: 1;
  transition: color 160ms ease;
}

.explorer-view-all__icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.explorer-view-all:hover,
.explorer-view-all:focus-visible {
  color: var(--dl-text);
  outline: none;
}

.explorer-view-all:hover .explorer-view-all__icon,
.explorer-view-all:focus-visible .explorer-view-all__icon {
  transform: translateX(2px);
}

.explorer-table {
  overflow-x: auto;
}

.explorer-table__head,
.explorer-row {
  display: grid;
  min-width: 1220px;
  grid-template-columns: 0.86fr 0.58fr 1.12fr 0.76fr 0.4fr 0.56fr;
  align-items: center;
}

.explorer-table--providers .explorer-table__head,
.explorer-table--providers .explorer-row {
  grid-template-columns: 0.98fr 0.58fr 0.55fr 0.78fr 0.72fr 0.66fr;
}

.explorer-table--defi .explorer-table__head,
.explorer-table--defi .explorer-row {
  min-width: 0;
  grid-template-columns:
    minmax(170px, 1fr)
    minmax(180px, 1fr)
    minmax(180px, 0.74fr)
    minmax(90px, 0.5fr)
    minmax(118px, 0.62fr)
    minmax(90px, 0.5fr)
    minmax(92px, 0.44fr);
}

.explorer-table--markets .explorer-table__head,
.explorer-table--markets .explorer-row {
  grid-template-columns: 0.9fr 0.78fr 0.78fr 0.72fr 0.64fr 0.62fr;
}

.explorer-table__head {
  min-height: 42px;
  padding: 0 0.95rem;
  color: var(--dl-text-muted);
  font-size: 0.78rem;
  font-weight: 535;
  line-height: 1;
}

.explorer-table__head span:nth-child(4),
.explorer-table__head span:nth-child(5),
.explorer-table__head span:nth-child(6) {
  text-align: right;
}

.explorer-table--providers .explorer-table__head span:nth-child(3) {
  text-align: right;
}

.explorer-table--defi .explorer-table__head span:nth-child(3) {
  text-align: left;
}

.explorer-table--defi .explorer-table__head span:nth-child(4),
.explorer-table--defi .explorer-table__head span:nth-child(5),
.explorer-table--defi .explorer-table__head span:nth-child(6),
.explorer-table--defi .explorer-table__head span:nth-child(7) {
  text-align: right;
}

.table-tooltip-label {
  position: relative;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0.34rem;
  overflow: visible !important;
  cursor: help;
  text-align: left;
  transition: color 140ms ease;
}

.table-tooltip-help-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  color: var(--dl-text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.table-tooltip-label:hover .table-tooltip-help-icon,
.table-tooltip-label:focus-visible .table-tooltip-help-icon {
  background: rgb(255 255 255 / 0.12);
  color: var(--dl-text);
}

.table-tooltip-label--underlined {
  text-decoration-color: rgb(255 85 33 / 0.58);
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.explorer-table__head span:nth-child(4).table-tooltip-label,
.explorer-table__head span:nth-child(5).table-tooltip-label,
.explorer-table__head span:nth-child(6).table-tooltip-label,
.explorer-table--defi .explorer-table__head span:nth-child(4).table-tooltip-label,
.explorer-table--defi .explorer-table__head span:nth-child(5).table-tooltip-label,
.explorer-table--defi .explorer-table__head span:nth-child(6).table-tooltip-label,
.explorer-table--defi .explorer-table__head span:nth-child(7).table-tooltip-label,
.pool-provider-detail__head span:nth-child(n + 4).table-tooltip-label {
  justify-self: end;
  text-align: right;
}

.table-tooltip-label:hover,
.table-tooltip-label:focus-visible {
  color: var(--dl-text);
  outline: none;
}

.table-tooltip {
  position: fixed;
  z-index: 10000;
  width: 220px;
  max-width: min(220px, 70vw);
  padding: 0.58rem 0.66rem;
  background: #242424;
  box-shadow: 0 18px 42px rgb(0 0 0 / 0.48);
  color: #f8f8f8;
  font-size: 0.72rem;
  font-weight: 535;
  line-height: 1.28;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(4px);
  transition:
    opacity 140ms ease,
    visibility 140ms ease,
    transform 140ms ease;
  visibility: hidden;
  white-space: normal;
}

.table-tooltip--measuring {
  opacity: 0;
  visibility: hidden;
}

.table-tooltip--visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

body.dl-body.light .table-tooltip {
  background: #ffffff;
  box-shadow: 0 16px 38px rgb(17 17 17 / 0.2);
  color: #1c1c1c;
}

.explorer-table--defi .explorer-pool__text {
  gap: 0;
}

.explorer-table--defi .explorer-row > .explorer-cell:nth-child(3) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explorer-table--defi .explorer-trade-cell {
  min-width: 94px;
  justify-self: end;
}

.explorer-row {
  min-height: 62px;
  padding: 0 0.95rem;
  border-top: 2px solid var(--dl-bg);
  background: var(--dl-row-surface);
  transition: background 160ms ease;
}

.explorer-row:hover {
  background: var(--dl-row-hover);
}

.explorer-pool {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.78rem;
}

.explorer-pool__avatar {
  display: inline-grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 535;
  line-height: 1;
}

.explorer-pool__avatar--orange {
  background: #ff5521;
}

.explorer-pool__avatar--green {
  background: #22b981;
}

.explorer-pool__avatar--violet {
  background: #7857ff;
}

.explorer-pool__avatar--blue {
  background: #2477ff;
}

.explorer-pool__avatar--pink {
  background: #cf34ce;
}

.explorer-pool__avatar--black {
  background: #050505;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
}

.explorer-protocol-logo {
  display: inline-block;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 76%;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1);
}

.explorer-protocol-logo--uniswap {
  background-image: url("./assets/protocols/uniswap.svg?v=official-protocols-1");
}

.explorer-protocol-logo--pancakeswap {
  background-image: url("./assets/protocols/pancakeswap.svg?v=official-protocols-1");
  background-size: 100%;
}

.explorer-protocol-logo--curve {
  background-image: url("./assets/protocols/curve.svg?v=official-protocols-1");
  background-size: 92%;
}

.explorer-protocol-logo--balancer {
  background-image: url("./assets/protocols/balancer.svg?v=official-protocols-1");
  background-size: 100%;
}

.explorer-protocol-logo--aerodrome {
  background-image: url("./assets/protocols/aerodrome.svg?v=official-protocols-1");
  background-size: 100%;
}

.explorer-pool__text {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.explorer-pool__text strong {
  overflow: hidden;
  color: var(--dl-text);
  font-size: 0.98rem;
  font-weight: 485;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explorer-pool__text span {
  color: var(--dl-text-muted);
  font-size: 0.78rem;
  font-weight: 485;
  line-height: 1;
}

.explorer-pair,
.explorer-liquidity,
.explorer-fee,
.explorer-cell {
  color: var(--dl-text);
  font-size: 0.98rem;
  font-weight: 485;
  line-height: 1;
}

.explorer-pair {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.64rem;
}

.pair-icon-stack {
  display: inline-flex;
  width: 39px;
  height: 25px;
  flex: 0 0 auto;
  align-items: center;
}

.pair-icon {
  position: relative;
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: var(--dl-row-surface);
  box-shadow: 0 0 0 2px var(--dl-row-surface);
  clip-path: circle(50% at 50% 50%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 535;
  line-height: 1;
}

.pair-icon::before {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  background-color: transparent;
  background-image: var(--pair-icon-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  clip-path: circle(50% at 50% 50%);
}

.pair-icon--usdt,
.pair-icon--usdc,
.pair-icon--btc,
.pair-icon--eth,
.pair-icon--pyusd,
.pair-icon--wbtc,
.pair-icon--weth,
.pair-icon--wsteth,
.pair-icon--cbeth,
.pair-icon--uni,
.pair-icon--cake,
.pair-icon--bnb,
.pair-icon--gbp,
.pair-icon--ngn,
.pair-icon--eur,
.pair-icon--usd {
  color: transparent;
  font-size: 0;
}

.pair-icon + .pair-icon {
  margin-left: -11px;
}

.pair-name {
  display: inline-flex;
  min-width: 0;
  align-items: baseline;
  gap: 0.22rem;
  white-space: nowrap;
}

.pair-name__slash {
  color: var(--dl-text-faint);
}

.pair-icon--usdt {
  --pair-icon-image: url("./assets/usdt.svg?v=high-quality-badges");
}

.pair-icon--gbp {
  --pair-icon-image: url("./assets/gbp.svg?v=high-quality-badges");
}

.pair-icon--ngn {
  --pair-icon-image: url("./assets/ngn.svg?v=high-quality-badges");
}

.pair-icon--eur {
  --pair-icon-image: url("./assets/eur.svg?v=high-quality-badges");
}

.pair-icon--usd {
  --pair-icon-image: url("./assets/usd.svg?v=high-quality-badges");
}

.pair-icon--usdc {
  --pair-icon-image: url("./assets/usdc.svg?v=high-quality-badges");
}

.pair-icon--btc {
  --pair-icon-image: url("./assets/btc.svg?v=high-quality-badges");
}

.pair-icon--eth {
  --pair-icon-image: url("./assets/eth.svg?v=high-quality-badges");
}

.pair-icon--pyusd {
  --pair-icon-image: url("./assets/pyusd.svg?v=high-quality-badges");
}

.pair-icon--wbtc {
  --pair-icon-image: url("./assets/tokens/wbtc.png?v=defi-token-badges-1");
}

.pair-icon--weth {
  --pair-icon-image: url("./assets/eth.svg?v=defi-token-badges-1");
}

.pair-icon--wsteth {
  --pair-icon-image: url("./assets/tokens/wsteth.png?v=defi-token-badges-1");
}

.pair-icon--cbeth {
  --pair-icon-image: url("./assets/tokens/cbeth.svg?v=defi-token-badges-1");
}

.pair-icon--uni {
  --pair-icon-image: url("./assets/tokens/uni.png?v=defi-token-badges-1");
}

.pair-icon--cake {
  --pair-icon-image: url("./assets/tokens/cake.png?v=defi-token-badges-1");
}

.pair-icon--bnb {
  --pair-icon-image: url("./assets/chains/bnb.png?v=defi-token-badges-1");
}

.pair-icon--sol {
  --pair-icon-image: url("./assets/chains/solana.png?v=rfq-token-badges-1");
}

.pair-icon--trx {
  --pair-icon-image: url("./assets/chains/tron.png?v=rfq-token-badges-1");
}

.pair-icon--avax {
  --pair-icon-image: url("./assets/chains/avalanche.png?v=rfq-token-badges-1");
}

.pair-icon--near {
  --pair-icon-image: url("./assets/chains/near.png?v=rfq-token-badges-1");
}

.pair-icon--apt {
  --pair-icon-image: url("./assets/chains/aptos.png?v=rfq-token-badges-1");
}

.pair-icon--xrp,
.pair-icon--doge,
.pair-icon--ada,
.pair-icon--link,
.pair-icon--ton,
.pair-icon--shib,
.pair-icon--dot,
.pair-icon--bch,
.pair-icon--ltc,
.pair-icon--etc,
.pair-icon--xlm {
  background: var(--asset-fallback-bg, #333333);
  color: #ffffff;
}

.pair-icon--xrp::after,
.pair-icon--doge::after,
.pair-icon--ada::after,
.pair-icon--link::after,
.pair-icon--ton::after,
.pair-icon--shib::after,
.pair-icon--dot::after,
.pair-icon--bch::after,
.pair-icon--ltc::after,
.pair-icon--etc::after,
.pair-icon--xlm::after {
  position: relative;
  z-index: 1;
  font-size: 0.58rem;
  font-weight: 650;
  line-height: 1;
}

.pair-icon--xrp { --asset-fallback-bg: #1f1f1f; }
.pair-icon--xrp::after { content: "X"; }
.pair-icon--doge { --asset-fallback-bg: #c2a633; }
.pair-icon--doge::after { content: "Ð"; }
.pair-icon--ada { --asset-fallback-bg: #0d5bd7; }
.pair-icon--ada::after { content: "A"; }
.pair-icon--link { --asset-fallback-bg: #2a5ada; }
.pair-icon--link::after { content: "L"; }
.pair-icon--ton { --asset-fallback-bg: #0098ea; }
.pair-icon--ton::after { content: "T"; }
.pair-icon--shib { --asset-fallback-bg: #f26a21; }
.pair-icon--shib::after { content: "S"; }
.pair-icon--dot { --asset-fallback-bg: #e6007a; }
.pair-icon--dot::after { content: "D"; }
.pair-icon--bch { --asset-fallback-bg: #8dc351; }
.pair-icon--bch::after { content: "B"; }
.pair-icon--ltc { --asset-fallback-bg: #345d9d; }
.pair-icon--ltc::after { content: "Ł"; }
.pair-icon--etc { --asset-fallback-bg: #328332; }
.pair-icon--etc::after { content: "E"; }
.pair-icon--xlm { --asset-fallback-bg: #111111; }
.pair-icon--xlm::after { content: "X"; }

.pair-name__asset {
  background: none;
  color: #f7f7f8;
}

.pair-name__slash + .pair-name__asset {
  color: #8a8a8a;
}

body.dl-body.light .pair-name__asset {
  color: #111111;
}

body.dl-body.light .pair-name__slash + .pair-name__asset {
  color: #9a9a9a;
}

.explorer-cell {
  min-width: 0;
}

.explorer-cell--right {
  text-align: right;
}

.explorer-network {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.network-chip {
  display: inline-flex;
  min-width: 58px;
  min-height: 23px;
  align-items: center;
  justify-content: center;
  padding: 0 0.48rem;
  background: var(--dl-nav-surface-hover);
  color: var(--dl-text-muted);
  font-size: 0.66rem;
  font-weight: 535;
  line-height: 1;
}

.network-rail-separator {
  color: var(--dl-text-muted);
  font-size: 0.9rem;
  font-weight: 485;
  line-height: 1;
}

.fiat-rail-pill {
  min-width: auto;
  min-height: 24px;
  padding-inline: 0.58rem;
  font-size: 0.64rem;
}

.network-rail-stack {
  display: inline-flex;
  width: max-content;
  height: 22px;
  align-items: center;
  gap: 4px;
}

.network-rail {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
  cursor: help;
}

.network-rail::before {
  position: absolute;
  z-index: 40;
  bottom: calc(100% + 8px);
  left: 50%;
  width: max-content;
  max-width: 180px;
  padding: 0.43rem 0.56rem;
  background: var(--dl-bg-hover);
  color: var(--dl-text-muted);
  content: attr(data-tooltip);
  font-size: 0.74rem;
  font-weight: 485;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.network-rail:hover::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.network-rail + .network-rail {
  margin-left: 0;
}

.network-rail--ethereum {
  background-image: url("./assets/chains/ethereum.png?v=mexc-varied-rails");
}

.network-rail--tron {
  background-image: url("./assets/chains/tron.png?v=mexc-varied-rails");
}

.network-rail--bnb {
  background-image: url("./assets/chains/bnb.png?v=mexc-varied-rails");
}

.network-rail--solana {
  background-image: url("./assets/chains/solana.png?v=mexc-varied-rails");
  background-size: 82%;
}

.network-rail--arbitrum {
  background-image: url("./assets/chains/arbitrum.png?v=mexc-varied-rails");
}

.network-rail--polygon {
  background-image: url("./assets/chains/polygon.png?v=mexc-varied-rails");
}

.network-rail--base {
  background-image: url("./assets/chains/base.png?v=mexc-varied-rails");
}

.network-rail--optimism {
  background-image: url("./assets/chains/optimism.png?v=mexc-varied-rails");
}

.network-rail--avalanche {
  background-image: url("./assets/chains/avalanche.png?v=mexc-varied-rails");
}

.network-rail--zksync {
  background-image: url("./assets/chains/zksync.png?v=mexc-varied-rails");
}

.network-rail--bitcoin {
  background-image: url("./assets/chains/bitcoin.png?v=mexc-varied-rails");
}

.network-rail--near {
  background-image: url("./assets/chains/near.png?v=mexc-varied-rails-2");
}

.network-rail--aptos {
  background-image: url("./assets/chains/aptos.png?v=mexc-varied-rails-2");
}

.explorer-liquidity {
  display: flex;
  justify-content: flex-end;
}

.explorer-fee {
  text-align: right;
}

.explorer-trade-cell {
  display: flex;
  justify-content: flex-end;
}

.explorer-trade-action {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  padding: 0 0.68rem;
  border: 0;
  border-radius: 8px;
  background: var(--trade-action-bg);
  color: var(--trade-action-text);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 535;
  letter-spacing: 0;
  line-height: 1;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.explorer-trade-action:hover,
.explorer-trade-action:focus-visible {
  background: var(--trade-action-hover);
  color: var(--trade-action-text);
  outline: none;
}

.explorer-trade-action__icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  stroke-width: 2.35;
}

.liquidity-bar {
  display: block;
  width: 137px;
  height: 21px;
  background: linear-gradient(
    to right,
    var(--liquidity-base) 0 var(--base-width, 67px),
    var(--liquidity-quote) var(--base-width, 67px) 100%
  );
  -webkit-mask-image: repeating-linear-gradient(
    to right,
    #000 0 4px,
    transparent 4px 7px
  );
  mask-image: repeating-linear-gradient(
    to right,
    #000 0 4px,
    transparent 4px 7px
  );
}

.liquidity-bar__seg {
  display: none;
}

.explorer-row:nth-child(1) .liquidity-bar {
  --base-width: 81px;
}

.explorer-row:nth-child(2) .liquidity-bar {
  --base-width: 95px;
}

.explorer-row:nth-child(3) .liquidity-bar {
  --base-width: 67px;
}

.explorer-row:nth-child(4) .liquidity-bar,
.explorer-row:nth-child(5) .liquidity-bar {
  --base-width: 53px;
}

.explorer-row:nth-child(6) .liquidity-bar,
.explorer-row:nth-child(7) .liquidity-bar {
  --base-width: 39px;
}

.explorer-row:nth-child(8) .liquidity-bar {
  --base-width: 109px;
}

.explorer-change {
  font-size: 0.98rem;
  font-weight: 485;
  line-height: 1;
  text-align: right;
}

.explorer-change--up {
  color: var(--dl-positive);
}

.explorer-change--down {
  color: var(--dl-negative);
}

.page-view {
  display: none;
}

.page-view--active {
  display: block;
}

.signup-page-view {
  min-height: 100vh;
  background: #000000;
  color: #f7f7f8;
}

.signup-auth-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 32vw);
  background: #000000;
  color: #f7f7f8;
}

.signup-theme-toggle {
  position: absolute;
  z-index: 6;
  top: 1.35rem;
  right: 1.45rem;
  display: inline-flex;
  min-width: 84px;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 0.44rem;
  padding: 0 0.82rem;
  border: 0;
  border-radius: 999px;
  background: #242424;
  color: #dfe3e9;
  font-size: 0.72rem;
  font-weight: 740;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    background 170ms ease,
    color 170ms ease;
}

.signup-theme-toggle:hover,
.signup-theme-toggle:focus-visible {
  background: #303030;
  color: #ffffff;
  outline: none;
}

.signup-theme-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.signup-theme-label {
  line-height: 1;
}

.signup-theme-icon--sun {
  display: none;
}

.light .signup-theme-icon--sun {
  display: block;
}

.light .signup-theme-icon--moon {
  display: none;
}

.light .signup-page-view,
.light .signup-auth-page {
  background: #ffffff;
  color: #151515;
}

.light .signup-theme-toggle {
  background: #e7e7e4;
  color: #5a5a5a;
}

.light .signup-theme-toggle:hover,
.light .signup-theme-toggle:focus-visible {
  background: #ddddda;
  color: #151515;
}

.signup-auth-side {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  border-left: 0;
  background: #111111;
}

.light .signup-auth-side {
  background: #f4f4f2;
}

.signup-auth-panel {
  display: grid;
  grid-row: 2;
  width: min(calc(100% - 48px), 406px);
  align-self: center;
  justify-self: center;
  justify-items: center;
  gap: 0.98rem;
  text-align: center;
  transform: translateY(3vh);
}

.signup-panel-logo {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.signup-auth-panel h1 {
  max-width: 360px;
  margin: 0;
  color: #f7f7f8;
  font-family: var(--font-main);
  font-size: clamp(1.48rem, 2.9vw, 2.14rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

.light .signup-auth-panel h1 {
  color: #151515;
}

.login-auth-panel--code #login-title {
  display: none;
}

.signup-auth-panel p {
  max-width: 390px;
  margin: 0 0 0.35rem;
  color: #aeb4be;
  font-size: 0.88rem;
  font-weight: 485;
  line-height: 1.45;
}

.light .signup-auth-panel p {
  color: #5f6670;
}

.login-verification-copy {
  max-width: 330px;
  margin: -0.1rem 0 0.2rem;
  color: #9aa2ae;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.light .login-verification-copy {
  color: #626a74;
}

.login-auth-panel--code .login-verification-copy {
  margin: 0 0 0.35rem;
}

.signup-method-stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 164px;
  overflow: hidden;
  transition: height 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.signup-method-stage--email {
  height: 350px;
}

.login-method-stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 137px;
  overflow: hidden;
  transition: height 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-method-stage--email {
  height: 124px;
}

.login-method-stage--code {
  height: 154px;
}

.signup-auth-actions {
  display: grid;
  width: 100%;
  gap: 0.64rem;
}

.signup-method-stage .signup-auth-actions,
.login-method-stage .signup-auth-actions {
  position: absolute;
  inset: 0;
  z-index: 1;
  align-content: center;
  transition:
    opacity 220ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 220ms ease;
}

.signup-method-stage--email .signup-auth-actions {
  opacity: 0;
  pointer-events: none;
  filter: blur(2px);
  transform: translateY(-18px);
}

.login-method-stage--email .signup-auth-actions {
  opacity: 0;
  pointer-events: none;
  filter: blur(2px);
  transform: translateY(-18px);
}

.signup-oauth-button {
  display: inline-flex;
  width: 85%;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 0.53rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 535;
  line-height: 1;
  transition:
    box-shadow 170ms ease,
    background 170ms ease,
    color 170ms ease;
}

.signup-oauth-button--primary {
  background: #f7f7f8;
  color: #111111;
  box-shadow: 0 14px 28px rgb(0 0 0 / 0.28);
}

.light .signup-oauth-button--primary {
  background: #111111;
  color: #ffffff;
  box-shadow: none;
}

.signup-oauth-button--primary:hover,
.signup-oauth-button--primary:focus-visible {
  background: #ffffff;
  box-shadow: 0 18px 36px rgb(0 0 0 / 0.36);
  outline: none;
}

.light .signup-oauth-button--primary:hover,
.light .signup-oauth-button--primary:focus-visible {
  background: #1f1f1f;
  box-shadow: none;
}

.signup-oauth-button--secondary {
  background: #353535;
  color: #f7f7f8;
  box-shadow: none;
}

.light .signup-oauth-button--secondary {
  background: #f0f0ee;
  color: #151515;
}

.signup-oauth-button--secondary:hover,
.signup-oauth-button--secondary:focus-visible {
  background: #404040;
  box-shadow: none;
  outline: none;
}

.light .signup-oauth-button--secondary:hover,
.light .signup-oauth-button--secondary:focus-visible {
  background: #e5e5e2;
}

.signup-google-mark {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 999px;
  flex: 0 0 14px;
}

.signup-google-mark svg,
.signup-provider-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.signup-lock-mark {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  color: #d4d8de;
}

.signup-provider-mark {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  flex: 0 0 14px;
}

.signup-ledger-mark {
  color: #f7f7f8;
}

.light .signup-ledger-mark {
  color: #151515;
}

.signup-trust-mark {
  width: 14px;
  height: 16px;
  flex-basis: 14px;
}

.signup-divider {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.72rem;
  color: #777f8c;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 485;
}

.light .signup-divider {
  color: #8b8f95;
}

.signup-divider span {
  display: block;
  height: 1px;
  background: rgb(255 255 255 / 0.1);
}

.light .signup-divider span {
  background: rgb(17 17 17 / 0.12);
}

.signup-divider em {
  font-style: normal;
}

.signup-email-link,
.signup-switch-copy button {
  border: 0;
  background: transparent;
  color: #aeb4be;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.light .signup-email-link,
.light .signup-switch-copy button {
  color: #636a73;
}

.signup-email-link {
  padding: 0.1rem 0;
  font-size: 0.84rem;
  font-weight: 485;
}

.signup-email-link[aria-expanded="true"] {
  color: #ffffff;
}

.light .signup-email-link[aria-expanded="true"] {
  color: #151515;
}

.signup-email-link:hover,
.signup-email-link:focus-visible,
.signup-switch-copy button:hover,
.signup-switch-copy button:focus-visible {
  color: #ffffff;
  outline: none;
}

.light .signup-email-link:hover,
.light .signup-email-link:focus-visible,
.light .signup-switch-copy button:hover,
.light .signup-switch-copy button:focus-visible {
  color: #151515;
}

.signup-email-form,
.login-email-form {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  width: 89.25%;
  justify-self: center;
  align-self: center;
  gap: 0.78rem;
  padding: 0.7rem 0 0.42rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-email-form {
  width: 85%;
  gap: 0.62rem;
  height: 100%;
  padding: 0;
  align-content: center;
}

.signup-method-stage--email .signup-email-form,
.login-method-stage--email .login-email-form {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.login-email-step {
  grid-area: 1 / 1;
  display: grid;
  width: 100%;
  grid-auto-rows: min-content;
  align-content: center;
  gap: 0.64rem;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-email-step--email {
  height: 100%;
  grid-template-rows: 39px 39px;
  justify-items: stretch;
}

.login-email-step--email input {
  height: 39px;
  min-height: 39px;
}

.login-email-step--email button {
  margin-top: 0;
}

.login-email-step--code {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.login-email-form--code .login-email-step--email {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

.login-email-form--code .login-email-step--code {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.login-email-status {
  margin: 0 0 0.16rem;
  color: #9aa2ae;
  font-size: 0.72rem;
  font-weight: 520;
  line-height: 1.35;
  text-align: center;
}

.light .login-email-status {
  color: #626a74;
}

.login-code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.36rem;
}

.login-code-grid input {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  min-height: 0;
  border-radius: 8px;
  padding: 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 620;
}

.login-code-grid input:focus {
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
}

.light .login-code-grid input:focus {
  box-shadow: inset 0 0 0 1px rgb(17 17 17 / 0.18);
}

.login-code-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.login-resend-copy {
  margin: 0;
  color: #818996;
  font-size: 0.7rem;
  font-weight: 485;
  line-height: 1.3;
  text-align: center;
}

.login-resend-copy button {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f7f7f8;
  font: inherit;
  font-weight: 610;
  text-decoration: none;
}

.login-resend-copy button:hover,
.login-resend-copy button:focus-visible {
  background: transparent;
  color: #ffffff;
}

.light .login-resend-copy {
  color: #6c727c;
}

.light .login-resend-copy button {
  background: transparent;
  color: #151515;
}

.light .login-resend-copy button:hover,
.light .login-resend-copy button:focus-visible {
  background: transparent;
  color: #000000;
}

.signup-email-form label,
.login-email-form label {
  display: grid;
  gap: 0.46rem;
  text-align: left;
}

.signup-email-form label > span,
.login-email-form label > span {
  color: #8f98a5;
  font-size: 0.59rem;
  font-weight: 620;
  line-height: 1;
}

.light .signup-email-form label > span,
.light .login-email-form label > span {
  color: #6b727b;
}

.signup-email-form input,
.login-email-form input {
  width: 100%;
  min-height: 37px;
  border: 0;
  border-radius: 999px;
  background: #242424;
  color: #f7f7f8;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 500;
  outline: none;
  padding: 0 1rem;
  transition:
    background 160ms ease,
    box-shadow 160ms ease;
}

.signup-email-form input::placeholder,
.login-email-form input::placeholder {
  color: #737b87;
}

.signup-email-form input:hover,
.signup-email-form input:focus,
.login-email-form input:hover,
.login-email-form input:focus {
  background: #303030;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

.light .signup-email-form input,
.light .login-email-form input {
  background: #eeeeec;
  color: #151515;
}

.light .signup-email-form input::placeholder,
.light .login-email-form input::placeholder {
  color: #858a91;
}

.light .signup-email-form input:hover,
.light .signup-email-form input:focus,
.light .login-email-form input:hover,
.light .login-email-form input:focus {
  background: #e5e5e2;
  box-shadow: inset 0 0 0 1px rgb(17 17 17 / 0.1);
}

.signup-email-form button,
.login-email-form button {
  display: inline-flex;
  width: 100%;
  min-height: 39px;
  margin-top: 0.48rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #f7f7f8;
  color: #111111;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 640;
  line-height: 1;
  transition:
    background 170ms ease,
    color 170ms ease;
}

.signup-email-form button:hover,
.signup-email-form button:focus-visible,
.login-email-form button:hover,
.login-email-form button:focus-visible {
  background: #ffffff;
  outline: none;
}

.light .signup-email-form button,
.light .login-email-form button {
  background: #111111;
  color: #ffffff;
}

.light .signup-email-form button:hover,
.light .signup-email-form button:focus-visible,
.light .login-email-form button:hover,
.light .login-email-form button:focus-visible {
  background: #1f1f1f;
}

.login-email-form--code .login-email-status {
  display: none;
}

.login-email-form .login-code-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.36rem;
}

.login-email-form .login-code-grid input {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: 1;
  border-radius: 8px;
  padding: 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 620;
}

.login-email-form .login-code-grid input:focus {
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
}

.light .login-email-form .login-code-grid input:focus {
  box-shadow: inset 0 0 0 1px rgb(17 17 17 / 0.18);
}

.login-email-form .login-resend-copy {
  margin: 0.08rem 0 0;
  color: #818996;
  font-size: 0.7rem;
  font-weight: 485;
  line-height: 1.3;
  text-align: center;
}

.login-email-form .login-resend-copy button {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f7f7f8;
  font: inherit;
  font-weight: 610;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.login-email-form .login-resend-copy button:hover,
.login-email-form .login-resend-copy button:focus-visible {
  background: transparent;
  color: #ffffff;
  outline: none;
}

.light .login-email-form .login-resend-copy {
  color: #6c727c;
}

.light .login-email-form .login-resend-copy button {
  background: transparent;
  color: #151515;
}

.light .login-email-form .login-resend-copy button:hover,
.light .login-email-form .login-resend-copy button:focus-visible {
  background: transparent;
  color: #000000;
}

.signup-auth-footer {
  align-self: end;
  justify-self: center;
  display: grid;
  grid-row: 3;
  width: min(calc(100% - 48px), 406px);
  justify-items: center;
  gap: 0.72rem;
  padding: 0 0 2.35rem;
}

.signup-switch-copy {
  margin: 0;
  color: #8a919d;
  font-size: 0.82rem;
  font-weight: 485;
  line-height: 1.35;
  text-align: center;
}

.light .signup-switch-copy {
  color: #747b84;
}

.signup-switch-copy button {
  padding: 0;
  color: #e3e6eb;
}

.light .signup-switch-copy button {
  color: #151515;
}

.signup-legal-copy {
  max-width: 330px;
  margin: 0;
  color: #777f8c;
  font-size: 0.66rem;
  font-weight: 485;
  line-height: 1.45;
  text-align: center;
  transition:
    opacity 180ms ease,
    max-height 220ms ease,
    margin 220ms ease;
}

.signup-auth-panel--email .signup-legal-copy {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.signup-legal-copy--placeholder {
  visibility: hidden;
  pointer-events: none;
}

.light .signup-legal-copy {
  color: #7b828b;
}

.signup-legal-copy a {
  color: #c6ccd5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.light .signup-legal-copy a {
  color: #2d333b;
}

.signup-legal-copy a:hover,
.signup-legal-copy a:focus-visible {
  color: #ffffff;
  outline: none;
}

.light .signup-legal-copy a:hover,
.light .signup-legal-copy a:focus-visible {
  color: #151515;
}

.signup-story-side {
  --code-spotlight-opacity: 0;
  --code-spotlight-x: 50%;
  --code-spotlight-y: 30%;

  position: relative;
  display: grid;
  grid-column: 1;
  grid-row: 1;
  min-height: 100vh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #000000;
  -webkit-user-select: none;
  user-select: none;
}

.light .signup-story-side {
  background: #ffffff;
}

.signup-story-side *,
.signup-story-side::before,
.signup-story-side::after {
  -webkit-user-select: none;
  user-select: none;
}

.signup-story-side::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--code-spotlight-opacity);
  background:
    radial-gradient(
      circle 131px at var(--code-spotlight-x) var(--code-spotlight-y),
      rgb(255 255 255 / 0.07),
      rgb(255 255 255 / 0.025) 48%,
      transparent 74%
    );
  transition: opacity 180ms ease;
}

.light .signup-story-side::before {
  background:
    radial-gradient(
      circle 131px at var(--code-spotlight-x) var(--code-spotlight-y),
      rgb(17 17 17 / 0.075),
      rgb(17 17 17 / 0.028) 48%,
      transparent 74%
    );
}

.signup-code-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  align-content: start;
  gap: 0.58rem;
  padding: clamp(2.1rem, 4vw, 4.4rem) clamp(0.55rem, 1.4vw, 1.4rem);
  color: rgb(165 170 178 / 0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  font-size: clamp(0.58rem, 0.68vw, 0.68rem);
  font-weight: 600;
  line-height: 1.07;
  cursor: default;
  pointer-events: none;
  user-select: none;
  transition: opacity 180ms ease;
}

.light .signup-code-bg {
  color: rgb(17 17 17 / 0.14);
}

.signup-code-bg > span {
  display: block;
  width: max-content;
  max-width: none;
  border-radius: 4px;
  white-space: pre;
}

.signup-code-bg--syntax {
  color: rgb(224 229 236 / 0.88);
  opacity: var(--code-spotlight-opacity);
  text-shadow: 0 0 20px rgb(255 255 255 / 0.08);
  -webkit-mask-image: radial-gradient(
    circle 131px at var(--code-spotlight-x) var(--code-spotlight-y),
    #000 0 48%,
    rgb(0 0 0 / 0.68) 62%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle 131px at var(--code-spotlight-x) var(--code-spotlight-y),
    #000 0 48%,
    rgb(0 0 0 / 0.68) 62%,
    transparent 100%
  );
  transition: opacity 160ms ease;
}

.light .signup-code-bg--syntax {
  color: rgb(17 17 17 / 0.86);
  text-shadow: none;
}

.light .signup-code-bg--syntax .rust-keyword {
  color: #005eb8;
}

.light .signup-code-bg--syntax .rust-type {
  color: #6d3cc5;
}

.light .signup-code-bg--syntax .rust-string {
  color: #21723a;
}

.light .signup-code-bg--syntax .rust-macro {
  color: #a05f00;
}

.light .signup-code-bg--syntax .rust-method {
  color: #00729e;
}

.light .signup-code-bg--syntax .rust-attr {
  color: #7045b8;
}

.light .signup-code-bg--syntax .rust-punct {
  color: rgb(17 17 17 / 0.62);
}

.signup-code-bg--syntax .rust-keyword {
  color: #8fc7ff;
}

.signup-code-bg--syntax .rust-type {
  color: #d8b4fe;
}

.signup-code-bg--syntax .rust-string {
  color: #a8e6a3;
}

.signup-code-bg--syntax .rust-macro {
  color: #f3c979;
}

.signup-code-bg--syntax .rust-method {
  color: #76d6ff;
}

.signup-code-bg--syntax .rust-attr {
  color: #c8a8ff;
}

.signup-code-bg--syntax .rust-punct {
  color: rgb(228 233 240 / 0.68);
}

.signup-code-bg--syntax .rust-comment {
  color: rgb(148 163 184 / 0.72);
}

.signup-story-copy {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100% - 52px), 640px);
  justify-items: center;
  gap: 1.28rem;
  text-align: center;
}

.signup-story-copy h2 {
  max-width: 600px;
  margin: 0;
  color: #f7f7f8;
  font-family: var(--font-main);
  font-size: clamp(1.66rem, 3.54vw, 2.96rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow:
    0 0 18px rgb(255 255 255 / 0.16),
    0 10px 34px rgb(0 0 0 / 0.72);
}

.light .signup-story-copy h2 {
  color: #151515;
  text-shadow:
    0 0 18px rgb(255 255 255 / 0.92),
    0 10px 32px rgb(255 255 255 / 0.74);
}

.signup-story-copy p {
  max-width: 540px;
  margin: 0;
  color: #aeb4be;
  font-size: 1.02rem;
  font-weight: 485;
  line-height: 1.4;
  text-shadow:
    0 0 14px rgb(255 255 255 / 0.08),
    0 8px 26px rgb(0 0 0 / 0.68);
}

.light .signup-story-copy p {
  color: #626973;
  text-shadow:
    0 0 14px rgb(255 255 255 / 0.88),
    0 8px 24px rgb(255 255 255 / 0.7);
}

@media (max-width: 920px) {
  .signup-auth-page {
    grid-template-columns: 1fr;
  }

  .signup-auth-side {
    grid-column: 1;
    min-height: 100vh;
    border-left: 0;
  }

  .signup-story-side {
    display: none;
  }

  .signup-auth-panel {
    width: min(calc(100% - 36px), 420px);
    transform: none;
  }
}

@media (max-width: 520px) {
  .signup-auth-panel {
    gap: 0.9rem;
  }

  .signup-auth-panel h1 {
    font-size: 1.58rem;
  }

  .signup-auth-panel p {
    font-size: 0.84rem;
  }

  .signup-oauth-button {
    min-height: 37px;
    font-size: 0.71rem;
  }

  .signup-auth-footer {
    padding-bottom: 1.6rem;
  }
}

.pools-analytics-hero {
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 2.35rem 0 6px;
  background: var(--dl-row-surface);
}

.pools-chart-grid {
  display: grid;
  width: min(
    var(--explorer-page-max),
    calc(100% - var(--explorer-section-left) - var(--explorer-outer-gutter))
  );
  min-height: 0;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
  margin-left: var(--explorer-section-left);
  padding-inline: var(--explorer-text-inset);
}

.pools-chart-card {
  --pool-chart-primary: #ff5521;
  --pool-chart-secondary: #ffb181;
  --pool-chart-muted: rgb(255 255 255 / 0.34);
  --pool-chart-1: #ff5521;
  --pool-chart-2: #ff8a4d;
  --pool-chart-3: #ffb181;
  --pool-chart-4: rgb(255 255 255 / 0.72);
  --pool-chart-5: rgb(255 255 255 / 0.48);
  --pool-chart-6: rgb(255 255 255 / 0.28);
  display: grid;
  min-width: 0;
  align-content: stretch;
  gap: 0.75rem;
  padding: 1rem 0 0;
  color: var(--dl-text);
}

.light .pools-chart-card {
  --pool-chart-muted: rgb(17 17 17 / 0.25);
  --pool-chart-1: #111;
  --pool-chart-2: #56504c;
  --pool-chart-3: #8d837c;
  --pool-chart-4: #ff5521;
  --pool-chart-5: #ffb181;
  --pool-chart-6: rgb(17 17 17 / 0.2);
}

.pools-chart-card__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1.5rem;
}

.pools-chart-card__metric {
  display: grid;
  min-width: 0;
  gap: 0.6rem;
}

.pools-chart-card__metric span,
.pools-chart-card__metric small,
.pools-chart-legend span,
.pools-chart-axis span {
  color: var(--dl-text-muted);
  font-size: 0.92rem;
  font-weight: 485;
  letter-spacing: 0;
  line-height: 1.1;
}

.pools-chart-card__metric strong {
  color: var(--dl-text);
  font-size: clamp(2rem, 3.1vw, 2.85rem);
  font-weight: 485;
  letter-spacing: 0;
  line-height: 0.95;
}

.pools-view-switching .pools-chart-card__metric,
.pools-view-switching .pools-chart-legend {
  animation: pools-view-fade-in 220ms ease-out both;
}

.pools-chart-legend {
  display: grid;
  gap: 0.42rem;
  justify-items: start;
  padding-top: 2.58rem;
}

.pools-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  color: var(--dl-text);
  animation: pools-view-fade-in 320ms ease both;
}

.legend-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--legend-color, var(--pool-chart-primary));
}

.pools-area-chart,
.pools-bar-chart {
  display: grid;
  position: relative;
  min-height: 0;
  align-content: end;
  gap: 0.7rem;
}

.pools-bar-chart {
  padding-right: 2.4rem;
}

.pools-area-chart svg {
  width: 100%;
  height: clamp(250px, 39vh, 380px);
  overflow: visible;
}

.area {
  opacity: 0.96;
}

.area--primary {
  fill: var(--pool-chart-primary);
}

.area--secondary {
  fill: var(--pool-chart-secondary);
}

.area--muted {
  fill: var(--pool-chart-muted);
}

.pools-chart-axis {
  display: grid;
  align-items: start;
  gap: 0.18rem;
  grid-template-columns: repeat(30, minmax(0, 1fr));
}

.pools-chart-axis span {
  min-width: 0;
  color: var(--dl-text);
  font-size: 0.56rem;
  line-height: 1.08;
  opacity: 0.9;
  overflow: hidden;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.pools-bars {
  contain: layout paint;
  display: grid;
  position: relative;
  height: clamp(250px, 39vh, 380px);
  align-items: end;
  gap: clamp(0.06rem, 0.14vw, 0.14rem);
  grid-template-columns: repeat(90, minmax(0, 1fr));
  transform: translateZ(0);
  will-change: transform, opacity;
}

.pools-view-switching .pools-bars {
  animation: pools-chart-bars-in 220ms ease-out both;
}

.volume-bar {
  display: flex;
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 2px;
  height: 100%;
  flex-direction: column-reverse;
  justify-content: flex-start;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.volume-bar__segment {
  display: block;
  width: 100%;
  flex: 0 0 var(--segment-height);
  background: var(--segment-color);
  opacity: 0.82;
  transition: opacity 120ms ease, filter 120ms ease;
}

.volume-bar__segment:first-child {
  border-radius: 0 0 3px 3px;
}

.volume-bar__segment:last-child {
  border-radius: 3px 3px 0 0;
}

.pools-bars--hovering .volume-bar__segment {
  opacity: 0.48;
}

.volume-bar--active .volume-bar__segment {
  opacity: 1 !important;
  filter: brightness(1.18);
}

.pools-chart-tooltip {
  position: absolute;
  z-index: 5;
  top: var(--tooltip-y, 50%);
  left: var(--tooltip-x, 50%);
  min-width: 190px;
  padding: 0.72rem 0.84rem;
  background: rgb(31 31 31 / 0.96);
  box-shadow: 0 18px 38px rgb(0 0 0 / 0.26);
  color: rgb(246 246 246);
  opacity: 0;
  pointer-events: none;
  transform: translate(12px, -50%);
  transition: opacity 100ms ease;
}

.light .pools-chart-tooltip {
  background: rgb(28 28 28 / 0.96);
  color: rgb(248 248 248);
}

.pools-chart-tooltip--flipped {
  transform: translate(calc(-100% - 12px), -50%);
}

.pools-chart-tooltip--visible {
  opacity: 1;
}

.pools-chart-tooltip__date,
.pools-chart-tooltip__row,
.pools-chart-tooltip__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.pools-chart-tooltip__date {
  justify-content: flex-start;
  margin-bottom: 0.66rem;
  color: rgb(255 255 255 / 0.58);
}

.pools-chart-tooltip__total {
  margin-bottom: 0.58rem;
  padding-bottom: 0.58rem;
  color: rgb(255 255 255 / 0.92);
}

.pools-chart-tooltip__rows {
  display: grid;
  gap: 0.42rem;
}

.pools-chart-tooltip__label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: rgb(255 255 255 / 0.5);
}

.pools-chart-tooltip__value {
  color: rgb(255 255 255 / 0.86);
  font-variant-numeric: tabular-nums;
}

.pools-chart-tooltip__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--dot-color);
  border-radius: 2px;
}

.pools-chart-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.pools-chart-tab {
  min-height: 2.42rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 0.78rem;
  background: transparent;
  color: var(--dl-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1;
  transition:
    background 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.pools-chart-tab:hover,
.pools-chart-tab:focus-visible {
  background: var(--dl-nav-surface-hover);
  color: var(--dl-text);
  outline: 0;
}

.pools-chart-tab--active {
  background: var(--dl-nav-surface-hover);
  color: var(--dl-accent);
  transform: translateY(-1px);
}

.pools-chart-tab--active:hover,
.pools-chart-tab--active:focus-visible {
  color: var(--dl-accent);
}

.pools-chart-tab:active {
  transform: translateY(0);
}

.pools-most-traded-section {
  width: min(
    var(--explorer-page-max),
    calc(100% - var(--explorer-section-left) - var(--explorer-outer-gutter))
  );
  margin: 2.05rem auto 0 var(--explorer-section-left);
  padding: 0 0 4rem;
}

.pools-most-traded-section--compact {
  padding-bottom: 0;
}

.pools-full-section {
  margin-top: 2.05rem;
}

.pools-most-traded-panel {
  background: transparent;
}

.pools-view-switching .pools-most-traded-header,
.pools-view-switching .explorer-table__head {
  animation: pools-view-fade-in 320ms ease both;
}

.pools-view-switching .explorer-row {
  animation: pools-table-row-in 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--row-delay, 0ms);
}

.pools-most-traded-header {
  display: flex;
  min-height: auto;
  align-items: end;
  justify-content: flex-start;
  gap: 1.15rem;
  padding: 0 var(--explorer-text-inset) 0.7rem;
  border-bottom: 1px solid var(--dl-stat-divider);
}

.pools-most-traded-header h2 {
  margin: 0;
  color: var(--dl-text);
  font-size: 1.3056rem;
  font-weight: 485;
  letter-spacing: 0;
  line-height: 1;
}

.pools-most-traded-header--filters {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pools-most-traded-header h2 span {
  color: var(--dl-text-muted);
}

.pools-table-controls {
  --filter-control-width: 158px;
  --filter-control-gap: 0.5rem;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: var(--filter-control-gap);
  margin-left: auto;
}

.pools-table-search,
.pools-table-select {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  background: var(--dl-nav-surface);
  color: var(--dl-text-muted);
}

.pools-table-search {
  width: min(260px, 26vw);
  gap: 0.44rem;
  padding: 0 0.72rem;
}

.pools-table-search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--dl-text-muted);
}

.pools-table-search input,
.pools-table-select select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--dl-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 535;
  letter-spacing: 0;
}

.pools-table-search input::placeholder {
  color: var(--dl-text-muted);
  opacity: 1;
}

.pools-table-select {
  position: relative;
  min-width: 142px;
  padding: 0 0.72rem;
}

.pools-table-select select {
  cursor: pointer;
  appearance: none;
  padding-right: 1.15rem;
}

.pools-table-select option {
  background: var(--dl-bg);
  color: var(--dl-text);
}

.pools-table-select::after {
  content: "";
  position: absolute;
  right: 0.72rem;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  pointer-events: none;
  transform: translateY(-2px) rotate(45deg);
}

.pools-table-search:hover,
.pools-table-search:focus-within,
.pools-table-select:hover,
.pools-table-select:focus-within {
  background: var(--dl-nav-surface-hover);
}

.pools-filter {
  position: relative;
  width: var(--filter-control-width);
  min-width: var(--filter-control-width);
  color: var(--dl-text);
}

.pools-filter-trigger {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 0.78rem;
  padding: 0 0.82rem;
  border: 0;
  background: var(--dl-nav-surface);
  color: var(--dl-text);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 535;
  letter-spacing: 0;
  line-height: 1;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.pools-filter-trigger:hover,
.pools-filter-trigger:focus-visible,
.pools-filter--open .pools-filter-trigger {
  background: var(--dl-nav-surface-hover);
  outline: 0;
}

.pools-filter-trigger__value {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.54rem;
}

.pools-filter-trigger__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pools-filter-trigger__chevron {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--dl-text-muted);
  transition: transform 160ms ease;
}

.pools-filter--open .pools-filter-trigger__chevron {
  transform: rotate(180deg);
}

.pools-filter-menu {
  position: absolute;
  top: calc(100% + 0.42rem);
  right: 0;
  z-index: 30;
  display: none;
  width: min(calc((var(--filter-control-width) * 2) + var(--filter-control-gap)), calc(100vw - 32px));
  max-height: min(352px, calc(100vh - 180px));
  overflow: auto;
  padding: 0.54rem;
  border-radius: 14px;
  background: #151515;
  box-shadow:
    0 0 0 1px var(--dl-stat-divider),
    0 22px 60px rgb(0 0 0 / 0.42);
}

body.dl-body.light .pools-filter-menu {
  background: #f4f4f3;
}

[data-full-pools-network] .pools-filter-menu {
  right: auto;
  left: 0;
}

[data-full-pools-provider] .pools-filter-menu {
  right: 0;
  left: auto;
}

[data-full-pools-crypto] .pools-filter-menu {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.pools-filter--open .pools-filter-menu {
  display: grid;
  gap: 0.18rem;
}

.pools-filter-menu__search {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 0.48rem;
  margin-bottom: 0.26rem;
  padding: 0 0.62rem;
  border-radius: 10px;
  background: var(--dl-nav-surface);
  color: var(--dl-text-muted);
}

.pools-filter-menu__search svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.pools-filter-menu__search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--dl-text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 485;
  letter-spacing: 0;
}

.pools-filter-menu__search input::placeholder {
  color: var(--dl-text-muted);
  opacity: 1;
}

.pools-filter-option {
  display: grid;
  min-height: 36px;
  grid-template-columns: 27px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 0.54rem;
  padding: 0 0.54rem;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--dl-text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 485;
  line-height: 1;
  text-align: left;
}

.pools-filter-option:hover,
.pools-filter-option:focus-visible {
  background: var(--dl-nav-surface-hover);
  outline: 0;
}

.pools-filter-option[hidden] {
  display: none;
}

.pools-filter-icon {
  position: relative;
  display: inline-flex;
  width: var(--filter-icon-size, 24px);
  height: var(--filter-icon-size, 24px);
  align-items: center;
  justify-content: center;
  background: var(--filter-icon-bg, #333333);
  color: var(--filter-icon-fg, #ffffff);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 82%;
  border-radius: 7px;
  font-size: 0.62rem;
  font-weight: 535;
  line-height: 1;
}

.pools-filter-icon--trigger {
  --filter-icon-size: 20px;
  flex: 0 0 auto;
  border-radius: 6px;
  font-size: 0.58rem;
}

.pools-filter-icon--all-networks,
.pools-filter-icon--all-providers,
.pools-filter-icon--all-fiat,
.pools-filter-icon--all-crypto {
  background:
    radial-gradient(circle at 31% 31%, #f2f2f2 0 14%, transparent 15%),
    radial-gradient(circle at 68% 30%, #ff2fc8 0 14%, transparent 15%),
    radial-gradient(circle at 31% 68%, #165dff 0 14%, transparent 15%),
    radial-gradient(circle at 68% 68%, #ff2438 0 14%, transparent 15%),
    transparent;
}

.pools-filter-icon--ethereum { --filter-icon-bg: #f2f3f6; --filter-icon-fg: #343434; background-image: url("./assets/chains/ethereum.png?v=filter-icons-1"); }
.pools-filter-icon--arbitrum { --filter-icon-bg: #213a5a; --filter-icon-fg: #8cc8ff; background-image: url("./assets/chains/arbitrum.png?v=filter-icons-1"); }
.pools-filter-icon--base { --filter-icon-bg: #165dff; --filter-icon-fg: #ffffff; background-image: url("./assets/chains/base.png?v=filter-icons-1"); }
.pools-filter-icon--bnbchain { --filter-icon-bg: #050505; --filter-icon-fg: #f3ba2f; background-image: url("./assets/chains/bnb.png?v=filter-icons-1"); }
.pools-filter-icon--polygon { --filter-icon-bg: #f7f4ff; --filter-icon-fg: #8247e5; background-image: url("./assets/chains/polygon.png?v=filter-icons-1"); }
.pools-filter-icon--optimism { --filter-icon-bg: #ff0420; --filter-icon-fg: #ffffff; background-image: url("./assets/chains/optimism.png?v=filter-icons-1"); }
.pools-filter-icon--avalanche { --filter-icon-bg: #e84142; --filter-icon-fg: #ffffff; background-image: url("./assets/chains/avalanche.png?v=filter-icons-1"); }
.pools-filter-icon--solana { --filter-icon-bg: #050505; --filter-icon-fg: #ffffff; background-image: url("./assets/chains/solana.png?v=filter-icons-1"); background-size: 78%; }
.pools-filter-icon--uniswap { --filter-icon-bg: #ffffff; --filter-icon-fg: #ffffff; background-image: url("./assets/protocols/uniswap.svg?v=filter-icons-1"); background-size: 78%; font-size: 0; }
.pools-filter-icon--pancake { --filter-icon-bg: #ffffff; --filter-icon-fg: #111111; background-image: url("./assets/protocols/pancakeswap.svg?v=filter-icons-1"); background-size: 100%; font-size: 0; }
.pools-filter-icon--curve { --filter-icon-bg: #ffffff; --filter-icon-fg: #111111; background-image: url("./assets/protocols/curve.svg?v=filter-icons-1"); background-size: 90%; font-size: 0; }
.pools-filter-icon--balancer { --filter-icon-bg: #ffffff; --filter-icon-fg: #111111; background-image: url("./assets/protocols/balancer.svg?v=filter-icons-1"); background-size: 96%; font-size: 0; }
.pools-filter-icon--aerodrome { --filter-icon-bg: #ffffff; --filter-icon-fg: #ffffff; background-image: url("./assets/protocols/aerodrome.svg?v=filter-icons-1"); background-size: 100%; font-size: 0; }
.pools-filter-icon--sushi { --filter-icon-bg: linear-gradient(135deg, #ff7a59, #7b61ff); --filter-icon-fg: #ffffff; }
.pools-filter-icon--camelot { --filter-icon-bg: #16283e; --filter-icon-fg: #f7f7f8; }
.pools-filter-icon--traderjoe { --filter-icon-bg: #ff3535; --filter-icon-fg: #ffffff; }
.pools-filter-icon--provider-badge { --filter-icon-bg: var(--dl-accent); --filter-icon-fg: #ffffff; }
.pools-filter-icon--asset {
  --filter-icon-bg: var(--dl-row-surface);
  border-radius: 50%;
  background-color: var(--filter-icon-bg);
  background-image: var(--pair-icon-image);
  background-size: cover;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
  color: transparent;
  font-size: 0;
}

.pools-filter-icon--crypto-badge {
  --filter-icon-bg: #2f2f2f;
  --filter-icon-fg: #ffffff;
  border-radius: 50%;
  font-size: 0.54rem;
  letter-spacing: -0.03em;
}

.pools-filter-option__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pools-filter-option__check {
  display: none;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  background: var(--dl-text);
  color: var(--dl-bg);
}

.pools-filter-option--active .pools-filter-option__check {
  display: inline-flex;
}

.explorer-table--most-traded .explorer-table__head,
.explorer-table--most-traded .explorer-row {
  min-width: 1180px;
  grid-template-columns:
    minmax(250px, 1.05fr)
    minmax(130px, 0.54fr)
    minmax(150px, 0.62fr)
    minmax(150px, 0.62fr)
    minmax(130px, 0.52fr)
    minmax(90px, 0.38fr)
    minmax(96px, 0.4fr);
}

.explorer-table--full-pools .explorer-table__head,
.explorer-table--full-pools .explorer-row {
  min-width: 1080px;
  grid-template-columns:
    minmax(250px, 1.08fr)
    minmax(130px, 0.54fr)
    minmax(150px, 0.62fr)
    minmax(150px, 0.62fr)
    minmax(130px, 0.52fr)
    minmax(96px, 0.4fr);
}

.explorer-table--rfq .explorer-table__head,
.explorer-table--rfq .explorer-row {
  min-width: 1240px;
  grid-template-columns:
    minmax(210px, 0.9fr)
    minmax(220px, 0.9fr)
    minmax(112px, 0.44fr)
    minmax(132px, 0.5fr)
    minmax(132px, 0.5fr)
    minmax(150px, 0.56fr)
    minmax(150px, 0.56fr);
}

.explorer-table--rfq .explorer-table__head span {
  text-align: left;
}

.explorer-table--rfq .explorer-table__head span:nth-child(3),
.explorer-table--rfq .explorer-table__head span:nth-child(4) {
  text-align: right;
}

.explorer-table--rfq .explorer-table__head span:nth-child(5) {
  padding-left: 1.35rem;
}

.explorer-table--rfq .explorer-table__head span:nth-child(6).table-tooltip-label {
  justify-self: start;
  text-align: left;
}

.explorer-table--rfq .explorer-table__head span:last-child {
  text-align: right;
}

.explorer-table--rfq .explorer-row {
  min-height: 66px;
}

.explorer-table--most-traded .explorer-table__head {
  min-height: 42px;
}

.explorer-table--most-traded .explorer-table__head span:nth-child(n + 2) {
  text-align: right;
}

.explorer-table--rfq.explorer-table--most-traded .explorer-table__head span {
  text-align: left;
}

.explorer-table--rfq.explorer-table--most-traded .explorer-table__head span:nth-child(3),
.explorer-table--rfq.explorer-table--most-traded .explorer-table__head span:nth-child(4),
.explorer-table--rfq.explorer-table--most-traded .explorer-table__head span:last-child {
  text-align: right;
}

.explorer-table--most-traded .explorer-row {
  min-height: 62px;
  border-top-width: 2px;
  background: var(--dl-row-surface);
}

.explorer-table--most-traded .explorer-row:hover {
  background: var(--dl-row-hover);
}

.explorer-table--full-pools .explorer-row--empty {
  grid-template-columns: 1fr;
  min-height: 62px;
  padding: 0 var(--explorer-text-inset);
  color: var(--dl-text-muted);
}

.pools-traded-pool {
  gap: 0.78rem;
}

.pools-traded-pool__meta {
  display: grid;
  min-width: 0;
  gap: 0.42rem;
}

.pools-traded-tags {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.32rem;
}

.pools-traded-tags span {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 0 0.52rem;
  background: var(--dl-nav-surface-hover);
  color: var(--dl-text-muted);
  font-size: 0.66rem;
  font-weight: 535;
  line-height: 1;
}

.pools-traded-metric {
  display: grid;
  min-width: 0;
  justify-items: end;
  gap: 0.24rem;
  color: var(--dl-text);
  font-size: 0.96rem;
  font-weight: 485;
  line-height: 1;
  text-align: right;
}

.pools-traded-metric strong {
  color: var(--dl-text);
  font-size: 0.98rem;
  font-weight: 485;
  line-height: 1;
}

.pools-traded-metric span {
  font-size: 0.72rem;
  font-weight: 535;
  line-height: 1;
}

.pools-traded-apr {
  color: var(--dl-text);
  font-size: 0.98rem;
  font-weight: 485;
  line-height: 1;
  text-align: right;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.rfq-route-cell {
  min-width: 0;
}

.rfq-route-provider {
  overflow: hidden;
  color: var(--dl-text-muted);
  font-size: 0.74rem;
  font-weight: 545;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rfq-fee-tier-cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rfq-cell {
  min-width: 0;
  overflow: hidden;
  color: var(--dl-text);
  font-size: 0.84rem;
  font-weight: 485;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rfq-cell--right {
  justify-self: end;
  text-align: right;
}

.rfq-cell--muted {
  padding-left: 1.35rem;
  color: var(--dl-text-muted);
}

.rfq-action-cell {
  justify-self: end;
}

.rfq-action {
  min-width: 112px;
  min-height: 32px;
  padding: 0 0.72rem;
  white-space: nowrap;
}

.explorer-table--most-traded .explorer-trade-cell {
  justify-self: end;
}

.pools-more-cell {
  display: flex;
  justify-content: flex-end;
}

.pools-more-action {
  display: inline-flex;
  min-width: 58px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 0.78rem;
  border: 0;
  background: var(--dl-nav-surface-hover);
  color: var(--dl-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.pools-more-action:hover,
.pools-more-action:focus-visible {
  background: var(--dl-row-hover);
  color: var(--dl-text);
  outline: 0;
}

.pools-more-action__icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.explorer-row--expandable {
  cursor: pointer;
}

.explorer-row--expandable:focus-visible {
  background: var(--dl-row-hover);
  outline: 0;
}

.explorer-row--expandable[aria-expanded="true"] {
  background: var(--dl-row-hover);
}

.explorer-row--expandable[aria-expanded="true"] .pools-more-action__icon {
  transform: rotate(180deg);
}

.explorer-row--pool-detail {
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  padding: 0 var(--explorer-text-inset);
  border-top: 0;
  background: var(--dl-row-surface);
  box-shadow: inset 0 1px 0 var(--dl-stat-divider);
  animation: pool-provider-row-open 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    background 160ms ease;
}

.explorer-row--pool-detail-closing {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.pool-provider-detail {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0.72rem 0.85rem 1rem;
  opacity: 1;
  transform: translateY(0);
  transition:
    padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.explorer-row--pool-detail-closing .pool-provider-detail {
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(-10px);
}

.pool-provider-detail__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.12rem 0 0.66rem;
}

.pool-provider-detail__label {
  color: var(--dl-text-muted);
  font-size: 0.72rem;
  font-weight: 535;
  line-height: 1;
}

.pool-provider-detail__table {
  display: grid;
  overflow: visible;
  background: rgb(255 255 255 / 0.025);
}

body.dl-body.light .pool-provider-detail__table {
  background: rgb(17 17 17 / 0.025);
}

.pool-provider-detail__head,
.pool-provider-detail__row {
  display: grid;
  min-width: 1080px;
  grid-template-columns:
    minmax(180px, 1fr)
    minmax(138px, 0.62fr)
    minmax(172px, 0.84fr)
    minmax(96px, 0.46fr)
    minmax(118px, 0.52fr)
    minmax(118px, 0.52fr)
    minmax(90px, 0.38fr)
    minmax(96px, 0.38fr);
  align-items: center;
  column-gap: 0.9rem;
  padding-inline: var(--explorer-text-inset);
}

.pool-provider-detail__head {
  min-height: 42px;
  color: var(--dl-text-muted);
  font-size: 0.76rem;
  font-weight: 535;
  line-height: 1;
}

.pool-provider-detail__head span:nth-child(n + 4),
.pool-provider-detail__row span:nth-child(n + 4) {
  text-align: right;
}

.pool-provider-detail__row {
  min-height: 62px;
  border-top: 1px solid var(--dl-stat-divider);
  color: var(--dl-text);
  font-size: 0.96rem;
  font-weight: 485;
  line-height: 1;
}

.pool-provider-detail__provider {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.78rem;
  text-align: left !important;
}

.pool-provider-detail__provider span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pool-provider-detail__network {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  overflow: visible;
}

.pool-provider-network {
  position: relative;
  display: inline-flex;
  width: max-content;
  height: 28px;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  background: transparent;
}

.pool-provider-network .network-rail {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.pool-provider-network-more {
  position: relative;
  display: inline-flex;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding-inline: 0.08rem;
  color: var(--dl-text-muted);
  cursor: help;
  font-size: 0.82rem;
  font-weight: 620;
  line-height: 1;
}

.pool-provider-network-more::before {
  position: absolute;
  z-index: 60;
  bottom: calc(100% + 8px);
  left: 50%;
  width: max-content;
  min-width: 86px;
  max-width: 190px;
  padding: 0.48rem 0.58rem;
  background: var(--dl-bg-hover);
  color: var(--dl-text-muted);
  content: attr(data-tooltip);
  font-size: 0.72rem;
  font-weight: 485;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 4px);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
  white-space: pre-line;
}

.pool-provider-network-more:hover::before,
.pool-provider-network-more:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pool-provider-detail__action {
  display: flex;
  justify-content: flex-end;
}

.pool-provider-detail__action .explorer-trade-action {
  min-width: 82px;
  min-height: 34px;
  padding: 0 0.78rem;
  font-size: 0.86rem;
}

.protocol-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 88%;
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 535;
  line-height: 1;
}

.protocol-icon--uniswap {
  background-image: url("./assets/protocols/uniswap.svg?v=pool-provider-detail");
}

.protocol-icon--pancakeswap {
  background-image: url("./assets/protocols/pancakeswap.svg?v=pool-provider-detail");
  background-size: 100%;
}

.protocol-icon--curve {
  background-image: url("./assets/protocols/curve.svg?v=pool-provider-detail");
}

.protocol-icon--balancer {
  background-image: url("./assets/protocols/balancer.svg?v=pool-provider-detail");
}

.protocol-icon--aerodrome {
  background-image: url("./assets/protocols/aerodrome.svg?v=pool-provider-detail");
  background-size: 100%;
}

.protocol-icon--sushi {
  background: linear-gradient(135deg, #ff7a59, #7b61ff);
}

.protocol-icon--sushi::after {
  content: "SU";
}

.protocol-icon--camelot {
  background: #16283e;
}

.protocol-icon--camelot::after {
  content: "CA";
}

.protocol-icon--traderjoe {
  background: #ff3535;
}

.protocol-icon--traderjoe::after {
  content: "TJ";
}

.pool-provider-page {
  width: min(
    var(--explorer-page-max),
    calc(100% - var(--explorer-section-left) - var(--explorer-outer-gutter))
  );
  margin: 0 auto 0 var(--explorer-section-left);
  padding: clamp(4rem, 8vw, 7rem) 0 4rem;
}

.pool-provider-page__inner {
  display: grid;
  gap: 1.25rem;
}

.pool-provider-back {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  gap: 0.46rem;
  border: 0;
  background: var(--dl-nav-surface);
  color: var(--dl-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1;
  padding: 0 0.72rem;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.pool-provider-back:hover,
.pool-provider-back:focus-visible {
  background: var(--dl-row-hover);
  color: var(--dl-text);
  outline: 0;
}

.pool-provider-page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--dl-stat-divider);
}

.pool-provider-page__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--dl-text-muted);
  font-size: 0.78rem;
  font-weight: 535;
  line-height: 1;
}

.pool-provider-page__header h1 {
  margin: 0;
  color: var(--dl-text);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 535;
  line-height: 0.95;
  letter-spacing: 0;
}

.pool-provider-page__pair {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 0.72rem;
  color: var(--dl-text);
  font-size: 1rem;
  font-weight: 560;
  line-height: 1;
}

.pool-provider-page__table {
  overflow-x: auto;
}

.pool-provider-detail__table--page {
  min-width: 1080px;
}

@keyframes pool-provider-row-open {
  from {
    grid-template-rows: 0fr;
    opacity: 0;
  }

  to {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}

.pools-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem var(--explorer-text-inset) 0;
  color: var(--dl-text-muted);
  font-size: 0.78rem;
  font-weight: 535;
  line-height: 1;
}

.pools-pagination__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.pools-page-button {
  display: inline-flex;
  min-width: 31px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--dl-text-muted);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition:
    background 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.pools-page-button:hover,
.pools-page-button:focus-visible,
.pools-page-button--active {
  background: var(--dl-nav-surface-hover);
  color: var(--dl-text);
  outline: 0;
}

.pools-page-button:disabled {
  cursor: default;
  opacity: 0.38;
}

.pools-page-button:disabled:hover {
  background: transparent;
  color: var(--dl-text-muted);
}

.subpage-shell {
  width: min(
    var(--explorer-page-max),
    calc(100% - var(--explorer-section-left) - var(--explorer-outer-gutter))
  );
  margin: 0 auto 0 var(--explorer-section-left);
  padding: 4.6rem 0 4.5rem;
}

.subpage-intro {
  max-width: 880px;
  margin-bottom: 2.2rem;
}

.subpage-intro h1 {
  margin: 0;
  color: var(--dl-text);
  font-size: 1.3056rem;
  font-weight: 535;
  letter-spacing: 0;
  line-height: 1.18;
}

.subpage-intro p {
  max-width: 760px;
  margin: 0.22rem 0 0;
  color: var(--dl-text-muted);
  font-size: 1.3056rem;
  font-weight: 485;
  letter-spacing: 0;
  line-height: 1.18;
}

.page-view[data-page-view="providers"] .subpage-shell {
  padding-top: 3.55rem;
}

.page-view[data-page-view="providers"] .subpage-intro {
  margin-bottom: 1.55rem;
}

.subpage-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 2.1rem;
}

.subpage-metrics article {
  display: grid;
  gap: 0.35rem;
  padding: 0 1.05rem 0.7rem 0;
  border-right: 1px solid var(--dl-stat-divider);
}

.subpage-metrics article:last-child {
  border-right: 0;
}

.subpage-metrics span,
.chart-card span,
.tool-card span {
  color: var(--dl-text-muted);
  font-size: 0.86rem;
  font-weight: 485;
  line-height: 1;
}

.subpage-metrics strong,
.chart-card strong {
  color: var(--dl-text);
  font-size: 1.28rem;
  font-weight: 485;
  line-height: 1;
}

.subpage-table {
  overflow-x: auto;
}

.subpage-table__head,
.subpage-row {
  display: grid;
  min-width: 860px;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 0.75fr 0.7fr;
  align-items: center;
}

.subpage-table__head {
  min-height: 42px;
  border-bottom: 1px solid var(--dl-stat-divider);
  color: var(--dl-text-muted);
  font-size: 0.78rem;
  font-weight: 535;
}

.subpage-row {
  min-height: 58px;
  padding: 0 0.95rem 0 0;
  border-top: 2px solid var(--dl-bg);
  background: var(--dl-row-surface);
  color: var(--dl-text);
  font-size: 0.94rem;
  font-weight: 485;
}

.subpage-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subpage-table__head span:nth-child(n + 3),
.subpage-row span:nth-child(n + 3) {
  text-align: right;
}

.subpage-table__head span:first-child,
.subpage-row span:first-child {
  padding-left: 0.95rem;
  text-align: left;
}

.provider-view-tabs {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  overflow: hidden;
  margin: 0 0 0.82rem;
  padding: 0.24rem;
  border-radius: 999px;
  background: var(--dl-row-surface);
}

.provider-view-tabs::before {
  position: absolute;
  z-index: 0;
  top: 0.24rem;
  bottom: 0.24rem;
  left: 0.24rem;
  width: calc((100% - 0.48rem) / 2);
  border-radius: 999px;
  background: var(--dl-nav-surface-hover);
  content: "";
  transform: translateX(0);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 160ms ease;
}

.provider-view-tabs[data-active-provider="cefi"]::before {
  transform: translateX(100%);
}

.rfq-side-tabs {
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  margin: 0;
  padding: 0.18rem;
}

.rfq-side-tabs[hidden] {
  display: none;
}

.rfq-side-tabs::before {
  top: 0.18rem;
  bottom: 0.18rem;
  left: 0.18rem;
  width: calc((100% - 0.36rem) / 2);
}

.rfq-side-tabs[data-active-rfq-side="sell"]::before {
  transform: translateX(100%);
}

.provider-view-tab {
  position: relative;
  z-index: 1;
  min-height: 38px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--dl-text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 535;
  line-height: 1;
}

.provider-view-tab:hover,
.provider-view-tab:focus-visible {
  color: var(--dl-text);
  outline: none;
}

.provider-view-tab--active {
  color: var(--dl-accent);
}

.rfq-side-tab {
  min-height: 28px;
  padding: 0 0.68rem;
  font-size: 0.78rem;
}

.provider-tile-grid {
  display: grid;
  width: 100%;
  gap: 0.72rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.provider-tile-grid[hidden] {
  display: none;
}

.provider-tile {
  display: grid;
  aspect-ratio: 1 / 1;
  min-width: 0;
  place-items: center;
  align-content: center;
  gap: 0.64rem;
  padding: 0.8rem;
  background: var(--dl-row-surface);
}

.provider-tile__logo,
.provider-tile__badge {
  width: 36px;
  height: 36px;
}

.provider-tile__badge {
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 535;
  line-height: 1;
}

.provider-tile__badge--sushi {
  background: linear-gradient(135deg, #2d75ff 0%, #7b4dff 48%, #ff4fa3 100%);
}

.provider-tile__badge--camelot {
  background: linear-gradient(135deg, #c69a54 0%, #7f4f21 100%);
}

.provider-tile__badge--trader-joe {
  background: linear-gradient(135deg, #e04747 0%, #f2a64a 100%);
  font-size: 0.84rem;
}

.provider-tile__badge--quickswap {
  background: linear-gradient(135deg, #2f7dff 0%, #18d4ff 100%);
}

.provider-tile__badge--raydium {
  background: linear-gradient(135deg, #23d1c8 0%, #7b5cff 100%);
}

.provider-tile__badge--velodrome {
  background: linear-gradient(135deg, #2547d0 0%, #ee2524 100%);
}

.provider-tile__badge--dodo {
  background: #fff100;
  color: #16161a;
}

.provider-tile__badge--generic {
  background: #607080;
  font-size: 0.82rem;
}

.provider-tile__badge--axion {
  background: #ff5521;
  font-size: 0.84rem;
}

.provider-tile__badge--prime {
  background: #22b981;
  font-size: 0.82rem;
}

.provider-tile__badge--coppergate {
  background: #7857ff;
  font-size: 0.82rem;
}

.provider-tile__badge--meridian {
  background: #2477ff;
  font-size: 0.82rem;
}

.provider-tile__badge--sterling {
  background: #cf34ce;
  font-size: 0.82rem;
}

.provider-tile__badge--stableflow {
  background: #2b2b2b;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
  font-size: 0.82rem;
}

.provider-tile__badge--nairalink {
  background: #1aa56d;
  font-size: 0.82rem;
}

.provider-tile__badge--vaultlink {
  background: #6872ff;
  font-size: 0.82rem;
}

.provider-tile__badge--eurobridge {
  background: #2f7dff;
  font-size: 0.82rem;
}

.provider-tile__badge--dollargrid {
  background: #607080;
  font-size: 0.82rem;
}

.provider-tile h2 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--dl-text);
  font-size: 0.84rem;
  font-weight: 535;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
}

.provider-tile-grid--sources {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.defi-sources-note {
  margin: 0;
  padding: 1.1rem 1rem;
  background: var(--dl-row-surface);
  color: var(--dl-text-muted);
  font-size: 0.88rem;
  font-weight: 485;
  grid-column: 1 / -1;
}

.defi-source-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 0.72rem;
  padding: 1rem;
  background: var(--dl-row-surface);
}

.defi-source-card__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.defi-source-card__logo {
  flex: 0 0 auto;
}

.defi-source-card__badge {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  font-size: 0.78rem;
}

.defi-source-card__title {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 0.2rem;
}

.defi-source-card__title h2 {
  overflow: hidden;
  margin: 0;
  color: var(--dl-text);
  font-size: 0.96rem;
  font-weight: 535;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.defi-source-card__types {
  color: var(--dl-text-faint);
  font-size: 0.76rem;
  font-weight: 485;
  line-height: 1.15;
}

.defi-source-card__status {
  flex: 0 0 auto;
  font-weight: 535;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.defi-source-card__networks {
  display: flex;
  min-height: 22px;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.defi-chain-chip {
  padding: 0.24rem 0.42rem;
  background: var(--dl-nav-surface);
  color: var(--dl-text-muted);
  font-size: 0.7rem;
  font-weight: 485;
  line-height: 1;
}

.defi-source-card__quote-method {
  display: grid;
  min-width: 0;
  gap: 0.24rem;
}

.defi-source-card__quote-method > span {
  color: var(--dl-text-faint);
  font-size: 0.68rem;
  font-weight: 535;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.defi-source-card__quote-method p {
  display: -webkit-box;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--dl-text-muted);
  font-size: 0.76rem;
  font-weight: 485;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.defi-source-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.72rem;
  border-top: 1px solid var(--dl-stat-divider);
  gap: 0.6rem;
}

.defi-source-card__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.defi-source-card__actions .explorer-trade-action {
  min-height: 29px;
  font-size: 0.82rem;
}

.defi-source-card__actions .explorer-trade-action:disabled {
  cursor: default;
  opacity: 0.6;
}

.defi-source-card__pair-note {
  color: var(--dl-text-faint);
  font-size: 0.74rem;
  font-weight: 485;
  line-height: 1.2;
  text-align: right;
}

.defi-source-card__note {
  margin: 0;
  padding-top: 0.72rem;
  border-top: 1px solid var(--dl-stat-divider);
  color: var(--dl-text-faint);
  font-size: 0.78rem;
  font-weight: 485;
  line-height: 1.3;
}

.defi-source-card__result {
  display: grid;
  gap: 0.55rem;
}

.defi-source-card__result[hidden] {
  display: none;
}

.defi-quote-pending {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dl-text-muted);
  font-size: 0.8rem;
  font-weight: 485;
}

.defi-quote-spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid var(--dl-stat-divider);
  border-radius: 999px;
  border-top-color: var(--dl-accent);
  animation: defi-quote-spin 640ms linear infinite;
}

@keyframes defi-quote-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .defi-quote-spinner {
    animation: none;
  }
}

.defi-quote-stats {
  display: grid;
  gap: 0.55rem 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.defi-quote-stat {
  display: grid;
  min-width: 0;
  gap: 0.24rem;
}

.defi-quote-stat span {
  color: var(--dl-text-faint);
  font-size: 0.7rem;
  font-weight: 485;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.defi-quote-stat strong {
  color: var(--dl-text);
  font-size: 0.9rem;
  font-weight: 535;
  overflow-wrap: anywhere;
}

.defi-quote-route,
.defi-quote-meta {
  margin: 0;
  color: var(--dl-text-muted);
  font-size: 0.76rem;
  font-weight: 485;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.defi-quote-meta {
  color: var(--dl-text-faint);
}

.defi-quote-error {
  margin: 0;
  color: var(--dl-negative);
  font-size: 0.78rem;
  font-weight: 485;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* 0Pools fee breakdown — pool output → routing fee → net "you receive". */
.defi-quote-fee {
  display: grid;
  gap: 0.32rem;
  padding: 0.62rem 0.7rem;
  border-radius: 8px;
  background: var(--dl-nav-surface);
}

.defi-quote-fee__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.defi-quote-fee__row > span:first-child {
  color: var(--dl-text-faint);
  font-size: 0.74rem;
  font-weight: 485;
}

.defi-quote-fee__row > span:last-child {
  color: var(--dl-text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-align: right;
}

.defi-quote-fee__row--net {
  margin-top: 0.16rem;
  padding-top: 0.42rem;
  border-top: 1px solid var(--dl-stat-divider);
}

.defi-quote-fee__row--net > span:first-child {
  color: var(--dl-text-muted);
  font-size: 0.8rem;
  font-weight: 535;
}

.defi-quote-fee__row--net strong {
  color: var(--dl-text);
  font-size: 0.98rem;
  font-weight: 620;
  overflow-wrap: anywhere;
  text-align: right;
}

/* View-pools expander per DeFi source card. */
.defi-source-card__pools {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.72rem;
  border-top: 1px solid var(--dl-stat-divider);
}

.defi-pools-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dl-text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 535;
  letter-spacing: 0.01em;
  transition: color 160ms ease;
}

.defi-pools-toggle:hover,
.defi-pools-toggle:focus-visible {
  color: var(--dl-text);
  outline: none;
}

.defi-pools-toggle__chevron {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--dl-text-faint);
  transition:
    transform 180ms ease,
    color 160ms ease;
}

.defi-pools-toggle:hover .defi-pools-toggle__chevron {
  color: var(--dl-text-muted);
}

.defi-pools-toggle[aria-expanded="true"] .defi-pools-toggle__chevron {
  color: var(--dl-accent);
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .defi-pools-toggle__chevron {
    transition: color 160ms ease;
  }
}

.defi-pools-panel[hidden] {
  display: none;
}

.defi-pools-list {
  display: grid;
  gap: 0.4rem;
}

.defi-pool-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: var(--dl-nav-surface);
}

.defi-pool-row--muted {
  opacity: 0.6;
}

.defi-pool-row__info {
  display: grid;
  min-width: 0;
  flex: 1 1 130px;
  gap: 0.16rem;
}

.defi-pool-row__pair {
  color: var(--dl-text);
  font-size: 0.82rem;
  font-weight: 535;
  overflow-wrap: anywhere;
}

.defi-pool-row__meta {
  color: var(--dl-text-faint);
  font-size: 0.71rem;
  font-weight: 485;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.defi-pool-row__addr {
  flex: 0 0 auto;
  color: var(--dl-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 485;
  letter-spacing: 0.01em;
  text-decoration: none;
}

a.defi-pool-row__addr:hover,
a.defi-pool-row__addr:focus-visible {
  color: var(--dl-accent);
  outline: none;
  text-decoration: underline;
}

.defi-pool-row__trade {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 0 0.6rem;
  font-size: 0.78rem;
}

.defi-pool-row__badge {
  flex: 0 0 auto;
  color: var(--dl-text-faint);
  font-size: 0.72rem;
  font-weight: 485;
  letter-spacing: 0.01em;
}

.defi-pools-empty {
  margin: 0;
  color: var(--dl-text-faint);
  font-size: 0.78rem;
  font-weight: 485;
}

@media (max-width: 1023px) {
  .provider-tile-grid.provider-tile-grid--sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.status-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.48rem;
  background: var(--dl-nav-surface-hover);
  color: var(--dl-text-muted);
  font-size: 0.72rem;
  line-height: 1;
}

.status-pill--live {
  color: var(--dl-positive);
}

.status-pill--pending {
  color: var(--dl-accent);
}

/* Registry-only: a live protocol with no single-call quote path (e.g. Carbon). */
.status-pill--muted {
  color: var(--dl-text-muted);
}

/* Sunset: protocol wound down / disabled on-chain (e.g. Saddle). */
.status-pill--sunset {
  color: var(--dl-text-faint);
  opacity: 0.85;
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.filter-chip {
  min-height: 32px;
  padding: 0 0.72rem;
  border: 0;
  background: var(--dl-nav-surface);
  color: var(--dl-text-muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 535;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip--active {
  background: var(--dl-nav-surface-hover);
  color: var(--dl-text);
  outline: none;
}

.chart-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-card,
.tool-card {
  background: var(--dl-row-surface);
}

.chart-card {
  display: grid;
  min-height: 230px;
  gap: 0.7rem;
  align-content: start;
  padding: 1rem;
}

.chart-bars {
  display: grid;
  height: 128px;
  align-items: end;
  gap: 0.5rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 1rem;
  border-bottom: 1px solid var(--dl-stat-divider);
}

.chart-bars i {
  display: block;
  background: var(--dl-accent);
}

.tool-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-card {
  display: grid;
  min-height: 168px;
  align-content: start;
  gap: 0.85rem;
  padding: 1rem;
}

.tool-card p {
  max-width: 420px;
  margin: 0;
  color: var(--dl-text);
  font-size: 1rem;
  font-weight: 485;
  line-height: 1.32;
}

.tool-card button {
  width: max-content;
  min-height: 32px;
  margin-top: auto;
  padding: 0 0.72rem;
  border: 0;
  background: var(--dl-accent);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 535;
}

@media (max-width: 720px) {
  .dl-topbar {
    --fd-nav-height: 50px;
  }

  .dl-topbar-r1 {
    display: flex;
    width: min(calc(100% - 24px), 100%);
    min-height: var(--fd-nav-height);
    gap: 0.75rem;
  }

  .dl-topbar-actions {
    margin-left: auto;
    padding-right: 0.18rem;
    gap: 0.34rem;
  }

  .dl-signup-button {
    min-height: 30px;
    padding: 0 0.64rem;
    font-size: 0.8rem;
  }

  .dl-login-button {
    min-height: 30px;
    padding: 0 0.12rem;
  }

  .dl-topbar-nav {
    display: inline-flex;
    min-height: 38px;
    padding: 0.2rem 0.26rem 0.2rem 0;
  }

  .dl-brand {
    padding: 0 0.115rem 0 0.115rem;
  }

  .dl-brand-text {
    display: none;
  }

  .dl-nav-main,
  .dl-nav-api {
    display: none;
  }

  .dl-iconbtn {
    width: 31px;
    height: 31px;
  }

  .explorer-hero {
    width: min(calc(100% - 24px), 100%);
    margin: 0 auto;
    padding-top: 4.5rem;
  }

  .explorer-hero__copy {
    margin: 0;
  }

  .explorer-hero__title {
    font-size: 0.986rem;
    line-height: 1.18;
  }

  .explorer-hero__subtitle {
    font-size: 0.986rem;
    line-height: 1.18;
  }

  .explorer-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1.65rem 0 0;
  }

  .explorer-stat {
    min-height: 55.5px;
    padding: 0.62rem 0 0;
  }

  .explorer-stat:nth-child(4n) {
    border-right: 1px solid var(--dl-stat-divider);
  }

  .explorer-stat:nth-child(2n) {
    border-right: 0;
  }

  .explorer-stat:nth-child(n + 3) {
    border-top: 1px solid var(--dl-stat-divider);
  }

  .explorer-stat:nth-child(2),
  .explorer-stat:nth-child(3),
  .explorer-stat:nth-child(4),
  .explorer-stat:nth-child(6),
  .explorer-stat:nth-child(7),
  .explorer-stat:nth-child(8) {
    padding-left: 0.375rem;
  }

  .explorer-stat__label {
    font-size: 0.741rem;
  }

  .explorer-stat__label::before {
    max-width: min(72vw, 250px);
    font-size: 0.72rem;
  }

  .explorer-stat__value {
    font-size: 0.918rem;
  }

  .explorer-search {
    width: 100%;
    min-height: 43.2px;
    margin: 0.65625rem 0 0;
    padding-inline: 0.72rem;
  }

  .explorer-search__placeholder {
    font-size: 0.855rem;
  }

  .explorer-table-section {
    width: min(calc(100% - 24px), 100%);
    margin: 1.425rem auto 0;
    padding-bottom: 0;
  }

  .explorer-table-section + .explorer-table-section {
    margin-top: 1.425rem;
  }

  .pools-pagination {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .pools-pagination__controls {
    flex-wrap: wrap;
  }

  .page-view > .explorer-table-section:last-of-type {
    padding-bottom: 3rem;
  }

  .pools-analytics-hero {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 3.5rem 0 6px;
  }

  .pools-chart-grid {
    width: min(calc(100% - 24px), 100%);
    min-height: auto;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin: 0 auto;
    padding-inline: 0;
  }

  .pools-chart-card {
    gap: 1rem;
    padding: 0;
  }

  .pools-chart-card__top {
    gap: 1rem;
  }

  .pools-chart-card__metric strong {
    font-size: 2rem;
  }

  .pools-chart-card__metric span,
  .pools-chart-card__metric small,
  .pools-chart-legend span {
    font-size: 0.78rem;
  }

  .pools-chart-axis span {
    font-size: 0.48rem;
  }

  .pools-chart-legend {
    padding-top: 2.24rem;
  }

  .pools-area-chart svg,
  .pools-bars {
    height: 220px;
  }

  .pools-bars {
    gap: 0.16rem;
  }

  .pools-most-traded-section {
    width: min(calc(100% - 24px), 100%);
    margin: 1rem auto 0;
    padding: 0 0 3rem;
  }

  .pools-most-traded-header {
    min-height: 58px;
    padding-inline: 0.9rem;
  }

  .pools-most-traded-header--filters {
    align-items: stretch;
    flex-direction: column;
  }

  .explorer-table-heading-stack {
    flex-wrap: wrap;
    gap: 0.58rem;
  }

  .pools-table-controls {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .pools-table-search {
    width: 100%;
  }

  .pools-table-select {
    flex: 1 1 150px;
  }

  .pools-filter {
    flex: 1 1 170px;
  }

  .pools-filter-menu {
    right: auto;
    left: 0;
    transform: none;
  }

  .pools-most-traded-header h2 {
    font-size: 1.18rem;
  }

  .explorer-table--most-traded .explorer-table__head,
  .explorer-table--most-traded .explorer-row {
    min-width: 1060px;
    grid-template-columns:
      230px
      125px
      145px
      145px
      125px
      85px
      90px;
  }

  .explorer-table--full-pools .explorer-table__head,
  .explorer-table--full-pools .explorer-row {
    min-width: 980px;
    grid-template-columns:
      230px
      120px
      140px
      140px
      120px
      90px;
  }

  .explorer-table--rfq .explorer-table__head,
  .explorer-table--rfq .explorer-row {
    min-width: 1240px;
    grid-template-columns:
      210px
      220px
      112px
      132px
      132px
      150px
      150px;
  }

  .explorer-table-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0 0 0.7rem;
  }

  .explorer-table-heading {
    justify-content: space-between;
  }

  .explorer-table-heading h2 {
    font-size: 0.986rem;
  }

  .explorer-view-all {
    padding-left: 0.78rem;
    font-size: 0.9rem;
  }

  .explorer-table__head,
  .explorer-row {
    min-width: 1220px;
    grid-template-columns: 0.86fr 0.58fr 1.12fr 0.76fr 0.4fr 0.56fr;
  }

  .explorer-table--providers .explorer-table__head,
  .explorer-table--providers .explorer-row {
    min-width: 1040px;
    grid-template-columns: 0.96fr 0.58fr 0.55fr 0.78fr 0.72fr 0.66fr;
  }

  .explorer-table--defi .explorer-table__head,
  .explorer-table--defi .explorer-row {
    min-width: 0;
    grid-template-columns:
      minmax(170px, 1fr)
      minmax(180px, 1fr)
      minmax(180px, 0.74fr)
      minmax(90px, 0.5fr)
      minmax(118px, 0.62fr)
      minmax(90px, 0.5fr)
      minmax(92px, 0.44fr);
  }

  .explorer-table--markets .explorer-table__head,
  .explorer-table--markets .explorer-row {
    min-width: 1040px;
    grid-template-columns: 0.88fr 0.78fr 0.78fr 0.72fr 0.64fr 0.62fr;
  }

  .explorer-row {
    min-height: 58px;
  }

  .subpage-shell {
    width: min(calc(100% - 24px), 100%);
    padding: 3.5rem 0 3rem;
  }

  .subpage-intro {
    margin-bottom: 1.5rem;
  }

  .subpage-intro h1,
  .subpage-intro p {
    font-size: 0.986rem;
    line-height: 1.18;
  }

  .subpage-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subpage-metrics article {
    min-height: 64px;
    padding: 0.62rem 0.55rem 0 0;
    border-top: 1px solid var(--dl-stat-divider);
  }

  .subpage-metrics article:nth-child(2n) {
    border-right: 0;
  }

  .subpage-metrics strong {
    font-size: 1rem;
  }

  .subpage-table__head,
  .subpage-row {
    min-width: 790px;
  }

  .provider-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .provider-tile-grid.provider-tile-grid--sources {
    grid-template-columns: minmax(0, 1fr);
  }

  .chart-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }
}
