:root {
  color-scheme: dark;
  --entry-page: #292929;
  --entry-ink: #060a10;
  --entry-panel: #15151a;
  --entry-card: #13151d;
  --entry-line: #33323d;
  --entry-fg: #f8f9fc;
  --entry-muted: #bdb7d7;
  --entry-focus: #d6c4ff;
  --entry-accent: #b395ff;
  --entry-violet: #472df9;
  --entry-violet-field: #3821c8;
  --entry-violet-line: #7965ff;
  --entry-violet-text: #e3dcff;
}

:root[data-theme="light"] {
  color-scheme: light;
  --entry-page: #edeaf4;
  --entry-ink: #f8f7fc;
  --entry-panel: #f0edf7;
  --entry-card: #fff;
  --entry-line: #dad4e8;
  --entry-fg: #211934;
  --entry-muted: #665b79;
  --entry-focus: #5f35d8;
  --entry-accent: #5330bd;
}
:root[data-theme="ultra-dark"] { --entry-page: #141414; --entry-ink: #000; }

body { margin: 0; background: var(--entry-page); }

.entry-shell {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--entry-page);
  color: var(--entry-fg);
  font: 400 1rem/1.4 system-ui, -apple-system, sans-serif;
}
.entry-shell *, .entry-shell *::before, .entry-shell *::after { box-sizing: border-box; }
.entry-shell.init_done, .entry-shell.entry_auth, .entry-shell [hidden] { display: none; }
.entry-shell a { color: inherit; text-decoration: none; }
.entry-shell button, .entry-shell input { font: inherit; }
.entry-shell button { color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.entry-shell :disabled { cursor: default; }
.entry-shell :focus-visible { outline: 2px solid var(--entry-focus); outline-offset: 3px; }

.entry-workspace {
  width: clamp(44rem, calc(100% - clamp(1.5rem, 8vw, 10.25rem)), 85rem);
  margin: clamp(1.5rem, 7.1vh, 5rem) auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  border-radius: 2.35rem;
  background: var(--entry-ink);
}
.entry-surface {
  --entry-fg: #f8f9fc;
  --entry-muted: var(--entry-violet-text);
  --entry-focus: #e9e2ff;
  --entry-accent: #fff;
  color-scheme: dark;
  color: var(--entry-fg);
  min-width: 0;
  padding: clamp(1rem, 3.25vw, 2.75rem);
  border-radius: inherit;
  background: var(--entry-violet);
}
.entry-rail { min-width: 0; padding: clamp(.9rem, 2.6vw, 2.35rem); }
.entry-header, .entry-nav, .entry-wallet {
  display: flex;
  align-items: center;
}
.entry-header { min-height: 2.75rem; gap: clamp(1rem, 4.2vw, 3.7rem); }
.entry-brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.entry-brand img { display: block; width: clamp(6rem, 10vw, 8.75rem); height: auto; filter: brightness(0) invert(1); }
.entry-nav { gap: clamp(.4rem, 1.9vw, 1.5rem); font-size: .94rem; }
.entry-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: .15rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.entry-nav a[aria-current], .entry-nav a:hover { border-bottom-color: currentColor; }

.entry-wallet {
  min-height: 3.05rem;
  gap: .65rem;
  padding: .55rem 1rem;
  border: 1px solid transparent;
  border-radius: .85rem;
  background: var(--entry-card);
  font-size: .92rem;
}
.entry-wallet .entry-chevron { margin-inline-start: auto; }
.entry-wallet:hover { border-color: var(--entry-line); }
.entry-shell [data-open-wallet][aria-disabled="true"] { color: var(--entry-muted); cursor: wait; }

.entry-icon {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  background: currentColor;
  mask: var(--entry-icon) center / contain no-repeat;
}
.icon-wallet { --entry-icon: url("icons/entry/wallet.svg"); }
.icon-assets { --entry-icon: url("icons/entry/assets.svg"); }
.icon-search { --entry-icon: url("icons/entry/search.svg"); }
.icon-reverse { --entry-icon: url("icons/entry/reverse.svg"); }
.icon-arrow { --entry-icon: url("icons/entry/arrow.svg"); }

.entry-heading { margin: clamp(1.65rem, 3.1vw, 2.45rem) 0 1.25rem; }
.entry-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.055em;
}
.entry-swap { min-width: 0; scroll-margin: 1rem; }

.entry-wallet-workspace { display: none; }
:root[data-entry-route="wallet"] :is(.entry-workspace:not(.entry-wallet-workspace), .entry-dock:not(.entry-wallet-dock)) {
  display: none;
}
:root[data-entry-route="wallet"] .entry-wallet-workspace {
  display: grid;
  width: min(calc(100% - clamp(2rem, 11vw, 10.25rem)), 85rem);
  min-height: 85.8svh;
}
.entry-wallet-workspace .entry-surface {
  --entry-wallet-card: var(--entry-violet-field);
  --entry-wallet-stripe: #241484;
  --entry-wallet-button: #f8f9fc;
  --entry-wallet-button-text: #211934;
  padding-block: .75rem 1.75rem;
}
.entry-wallet-workspace .entry-header { margin-inline: -.625rem; }
:root[data-theme="light"] .entry-wallet-workspace .entry-surface {
  --entry-fg: #211934;
  --entry-muted: #665b79;
  --entry-focus: #5f35d8;
  --entry-wallet-card: #f0edf7;
  --entry-wallet-stripe: #b9a9ec;
  --entry-wallet-button: #3821c8;
  --entry-wallet-button-text: #f8f9fc;
  color-scheme: light;
  background: #fff;
}
:root[data-theme="light"] .entry-wallet-workspace .entry-brand img {
  filter: brightness(0) saturate(100%);
}
.entry-wallet-summary { margin-top: clamp(1.8rem, 4.5vh, 2.6rem); }
.entry-wallet-summary h1 { margin: 0; color: var(--entry-muted); font-size: 1rem; font-weight: 450; }
.entry-wallet-value {
  margin: 0 0 .75rem;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.entry-wallet-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.entry-shell .entry-wallet-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-width: min(100%, 10.625rem);
  min-height: 2.75rem;
  padding: .5rem 1rem;
  border: 0;
  border-radius: 99rem;
  background: var(--entry-wallet-button, var(--entry-card));
  color: var(--entry-wallet-button-text, var(--entry-fg));
  font-size: .875rem;
  font-weight: 550;
}
.entry-wallet-connect:hover:not(:disabled) { filter: brightness(.94); }
.entry-wallet-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin: 1rem 0 1.25rem;
}
.entry-wallet-metrics > div { min-height: 4.125rem; padding: .625rem; border-radius: .75rem; background: var(--entry-wallet-card); }
.entry-wallet-metrics dt, .entry-wallet-muted { color: var(--entry-muted); font-size: .75rem; }
.entry-wallet-metrics dd { margin: .4375rem 0 0; line-height: 1.2; }
.entry-wallet-history { margin: 0; }
.entry-wallet-history figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: 1.25rem; }
.entry-wallet-history svg { display: block; width: 100%; height: clamp(12.125rem, 36svh, 22.5rem); margin-top: .5rem; }
.entry-wallet-volume { fill: url("#entry-wallet-stripes"); }
.entry-wallet-stripes { stroke: var(--entry-wallet-stripe); }
.entry-wallet-trace { fill: none; stroke: var(--entry-fg); stroke-width: 2.1; }
.entry-wallet-trace-secondary { stroke: var(--entry-muted); stroke-width: 1.65; }
.entry-wallet-rail { padding: .9rem clamp(1rem, 1.8vw, 1.65rem) 1rem; }
.entry-wallet-rail .entry-wallet-connect { display: flex; width: min(100%, 18.25rem); margin-inline: auto; }
.entry-wallet-allocation { margin-top: 2.25rem; }
.entry-wallet-allocation h2 { max-width: 10ch; margin: 0; font-size: 1.625rem; font-weight: 500; }
.entry-wallet-allocation-bar {
  height: .875rem;
  margin-top: .75rem;
  background: repeating-linear-gradient(90deg, var(--entry-line) 0 1px, transparent 1px 3.5px);
}
.entry-wallet-muted { margin: .5rem 0 0; }
.entry-wallet-transactions { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .375rem .625rem; margin-top: 1.625rem; }
.entry-wallet-transactions h2, .entry-wallet-transactions a { margin: 0; font-size: .9375rem; font-weight: 550; }
.entry-wallet-transactions a:hover { text-decoration: underline; }
.entry-wallet-transactions p { grid-column: 1 / -1; }

.entry-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem minmax(0, 1fr);
  align-items: stretch;
  gap: .65rem;
}
.entry-field {
  min-width: 0;
  min-height: 7.8rem;
  padding: .85rem .95rem;
  border-radius: .92rem;
  background: var(--entry-violet-field);
}
.entry-field > label, .entry-field-label {
  display: block;
  color: var(--entry-muted);
  font-size: .9rem;
}
.entry-field-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem .65rem;
  margin-top: .3rem;
}
.entry-shell .entry-amount {
  display: block;
  flex: 1 1 3.9rem;
  min-width: 0;
  width: 5rem;
  min-height: 2.9rem;
  border: 0;
  border-radius: .32rem;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 450;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
  line-height: 1.13;
}
.entry-amount::placeholder { color: var(--entry-muted); opacity: 1; }
.entry-shell .entry-estimate { display: flex; align-items: center; }

.entry-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-width: 0;
  max-width: 100%;
  min-height: 2.75rem;
  padding: .18rem .3rem;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  text-align: left;
}
.entry-pick:hover:not(:disabled) { background: #ffffff1a; }
.entry-selection { min-width: 0; font-size: .96rem; }
.entry-chevron {
  display: block;
  width: .45rem;
  height: .45rem;
  margin: 0 .2rem .18rem .05rem;
  flex: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.entry-reverse {
  display: grid;
  align-self: center;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--entry-violet-line);
  border-radius: .68rem;
  background: transparent;
}
.entry-reverse:hover:not(:disabled) { background: #ffffff1a; }
.entry-reverse:disabled { opacity: .55; }

.entry-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: 1.1rem;
}
.entry-shell .entry-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: min(100%, 16rem);
  min-height: 3.05rem;
  padding: .6rem 1rem;
  border: 0;
  border-radius: 99rem;
  background: #f3efff;
  color: #3921d5;
  font-weight: 550;
}
.entry-primary:hover:not(:disabled) { filter: brightness(.94); }
.entry-shell .entry-primary:disabled { opacity: .55; }
.entry-handoff { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .6rem; margin-right: auto; }
.entry-handoff p, .entry-message, .entry-error { margin: 0; color: var(--entry-muted); font-size: .88rem; }
.entry-error { margin-top: .7rem; }
.entry-message { margin-top: .75rem; }

.entry-orderbook {
  --entry-book-guide-y: 14%;
  --entry-book-ring: 20px;
  position: relative;
  width: calc(100% + 2.4rem);
  aspect-ratio: 824 / 512;
  max-height: clamp(16.25rem, 44.5vh, 32rem);
  margin: 1rem -1.2rem -1.65rem;
  overflow: hidden;
  border-radius: 2rem;
  color: #f8f9fc;
  background: var(--entry-violet);
}
.entry-book-heading {
  position: absolute;
  z-index: 1;
  inset: 1.3rem 1.5rem auto 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}
.entry-book-heading h2 { margin: 0; font-size: 1.75rem; font-weight: 500; line-height: 1.2; }
.entry-book-heading span { font-size: .78rem; color: var(--entry-violet-text); }
.entry-book-plot, .entry-book-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry-book-volume { fill: url("#entry-book-stripes"); }
.entry-book-trace {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.entry-book-trace-secondary { stroke: var(--entry-violet-text); opacity: .82; }
.entry-book-guide {
  position: absolute;
  inset: var(--entry-book-guide-y) auto 0 49.7%;
  width: 1.7px;
  background: currentColor;
}
.entry-book-guide::before {
  content: "";
  position: absolute;
  width: var(--entry-book-ring);
  height: var(--entry-book-ring);
  border: 4px solid currentColor;
  border-radius: 50%;
  background: var(--entry-violet);
  transform: translate(-50%, -50%);
}
.entry-book-guide span {
  position: absolute;
  top: 0;
  left: 1.2rem;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 1.125rem;
}

.entry-section-heading, .entry-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem .75rem;
  margin-bottom: .8rem;
}
.entry-section-heading h2, .entry-dialog-header h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.035em;
}
.entry-assets { margin-top: clamp(1.6rem, 3.3vw, 2.75rem); scroll-margin: 1rem; }
.entry-count { color: var(--entry-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.entry-search {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: 0 .75rem;
  border: 1px solid var(--entry-line);
  border-radius: .7rem;
  background: var(--entry-card);
  color: var(--entry-muted);
}
.entry-search:focus-within { border-color: var(--entry-focus); }
.entry-search input {
  width: 100%;
  min-width: 0;
  min-height: 2.65rem;
  padding: .3rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--entry-fg);
  font-size: .95rem;
}
.entry-search input:focus-visible { outline: 0; }
.entry-search input::placeholder { color: var(--entry-muted); opacity: 1; }
.entry-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.entry-list { margin: .65rem 0 0; padding: 0; list-style: none; }
.entry-assets .entry-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.entry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  width: 100%;
  min-height: 3.1rem;
  padding: .45rem .5rem;
  border: 1px solid transparent;
  border-radius: .64rem;
  background: transparent;
  text-align: left;
}
.entry-assets .entry-row { min-height: 4.1rem; background: var(--entry-card); }
.entry-assets .entry-row[aria-pressed="true"] {
  background: var(--entry-violet-field);
  color: #fff;
}
.entry-assets .entry-row[aria-pressed="true"] small { color: #e3dcff; }
button.entry-row:hover { border-color: var(--entry-focus); }
.entry-row .entry-token { flex: 1; }
.entry-row .entry-chevron { transform: rotate(-45deg); margin-block: 0; }
.entry-assets .entry-chevron { display: none; }

.entry-token { display: flex; align-items: center; gap: .45rem; min-width: 0; }
.entry-token-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--entry-panel);
  color: var(--entry-accent);
  font-size: .63rem;
  font-weight: 650;
}
.entry-token-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.entry-token-text { min-width: 0; display: grid; }
.entry-token-text strong { font-size: .88rem; font-weight: 550; }
.entry-token-text small, .entry-network { color: var(--entry-muted); font-size: .74rem; }
.entry-token-text strong, .entry-token-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.entry-selection .entry-token-text strong { font-size: .96rem; }
.entry-network {
  max-width: 40%;
  flex: none;
  padding: .15rem .4rem;
  border: 1px solid var(--entry-line);
  border-radius: .35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.entry-shell .entry-text-button {
  min-height: 2.75rem;
  padding: .3rem .6rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  background: transparent;
  color: var(--entry-accent);
  font-size: .86rem;
  white-space: nowrap;
}
.entry-shell .entry-text-button:hover { border-color: currentColor; }
.entry-more { margin-top: .4rem; }
.entry-dock, .entry-mobile-search, .entry-mobile-network { display: none; }
.entry-actions > #entry-tour { margin-right: auto; }

.entry-shell dialog {
  width: min(27rem, calc(100% - 1.5rem));
  max-height: min(38rem, 80dvh);
  padding: .9rem 1rem;
  border: 1px solid var(--entry-line);
  border-radius: 1rem;
  background: var(--entry-card);
  color: var(--entry-fg);
  box-shadow: 0 1.5rem 4rem #0007;
}
.entry-shell dialog::backdrop { background: rgb(6 10 16 / 70%); }
.entry-dialog-header h2 { margin-right: auto; font-size: 1.2rem; }
.entry-shell dialog .entry-search { background: var(--entry-ink); }
.entry-shell dialog .entry-row { border-bottom-color: var(--entry-line); }
.entry-shell dialog .entry-row:hover { border-color: var(--entry-focus); }

#entry-wallet-connect-dialog {
  width: min(23.75rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: clamp(1rem, 4vw, 1.875rem);
  border-radius: 1.125rem;
}
.entry-wallet-connect-header {
  padding: 1.0625rem 1.125rem 1.25rem;
  border-radius: 1.1875rem;
  background: var(--entry-violet);
  color: #f8f9fc;
}
.entry-wallet-connect-header img { display: block; filter: brightness(0) invert(1); }
.entry-wallet-connect-header h2 {
  margin: .875rem 0 0;
  font-size: 1.6875rem;
  font-weight: 500;
  line-height: 1.2;
}
#entry-wallet-connect-status { margin: 1rem 0 .5rem; color: var(--entry-muted); font-size: .9rem; }
.entry-wallet-connect-dialog-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .375rem; }
.entry-wallet-connect-dialog-actions .entry-text-button { min-width: 2.75rem; min-height: 2.75rem; }

#entry-wallet-unlock-form:not([hidden]) { display: grid; gap: .45rem; margin-top: .9rem; }
#entry-wallet-unlock-form label { color: var(--entry-muted); font-size: .9rem; }
#entry-wallet-unlock-form :is(select, input) {
  width: 100%;
  min-height: 2.75rem;
  margin-bottom: .35rem;
  padding: .55rem .75rem;
  border: 1px solid var(--entry-line);
  border-radius: .65rem;
  background: var(--entry-page);
  color: var(--entry-fg);
  font: inherit;
}
#entry-wallet-unlock-form input[aria-invalid="true"] { border-color: #e98495; }
#entry-wallet-unlock-form .entry-primary { width: 100%; min-height: 2.75rem; justify-content: center; }
.entry-unlock-agreement { margin: .35rem 0 .65rem; color: var(--entry-muted); font-size: .8rem; }
.entry-unlock-agreement button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--entry-fg);
  text-decoration: underline;
}
#entry-wallet-agreement { max-height: calc(100dvh - 2rem); }
#entry-wallet-agreement-body { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.entry-wallet-workspace[data-unlocked] :is(.entry-wallet-summary, .entry-wallet-metrics, .entry-wallet-history) { display: none; }
.entry-unlocked-wallet { padding-block: clamp(1rem, 6vh, 4rem); }
.entry-unlocked-header { display: flex; justify-content: space-between; align-items: start; gap: 1rem; flex-wrap: wrap; }
.entry-unlocked-header > div { min-width: 0; }
.entry-unlocked-header h1 { margin: 0; font-size: clamp(1.7rem, 4vw, 3rem); overflow-wrap: anywhere; font-weight: 500; }
#entry-unlocked-name:focus-visible { outline: none; }
#entry-unlocked-status { margin: .5rem 0 0; color: var(--entry-muted); }
#entry-unlocked-assets h3 { margin: 2.25rem 0 .75rem; font-size: 1rem; font-weight: 500; }
#entry-unlocked-asset-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8rem), 1fr)); gap: .5rem; list-style: none; padding: 0; }
#entry-unlocked-asset-list li { padding: .8rem; border-radius: .65rem; background: var(--entry-wallet-card); overflow-wrap: anywhere; }
.entry-wallet-workspace[data-unlocked] .entry-wallet-rail > button { display: none; }

.entry-shell.is-guided { --entry-spotlight: #c9b9ff; }
.entry-veil, .entry-coach {
  --entry-tour-fade: 170ms ease-out;
  --entry-tour-shift: 310ms cubic-bezier(.22, 1, .36, 1);
  opacity: 0;
  visibility: hidden;
}
.entry-veil {
  position: fixed;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity var(--entry-tour-fade), visibility var(--entry-tour-fade);
}
.entry-lens {
  position: absolute;
  inset: 0 auto auto 0;
  outline: 2px solid var(--entry-spotlight, #c9b9ff);
  box-shadow: 0 0 0 250vmax rgb(4 5 12 / 47%);
}
.entry-veil.is-visible .entry-lens {
  transition: transform var(--entry-tour-shift), width var(--entry-tour-shift),
    height var(--entry-tour-shift), border-radius var(--entry-tour-shift);
}
.entry-coach {
  --entry-coach-surface: #20212d;
  --entry-coach-border: #8e87ae;
  position: fixed;
  z-index: 5;
  inset: 0 auto auto 0;
  width: min(15rem, var(--entry-coach-max, calc(100% - 1.5rem)));
  padding: .65rem .85rem .125rem;
  border: 1px solid var(--entry-coach-border);
  border-radius: 1rem;
  background: var(--entry-coach-surface);
  color: #f8f6ff;
  box-shadow: inset 0 1px 0 #fff1, 0 .65rem 1.6rem #02020b80;
  transform: translate3d(var(--entry-coach-x, 0px), calc(var(--entry-coach-y, 0px) + 5px), 0);
  transition: transform var(--entry-tour-shift), opacity var(--entry-tour-fade), visibility var(--entry-tour-fade);
}
.entry-veil.is-visible, .entry-coach.is-visible { opacity: 1; visibility: visible; }
.entry-coach.is-visible { transform: translate3d(var(--entry-coach-x), var(--entry-coach-y), 0); }
.entry-coach::before, .entry-coach::after {
  content: "";
  position: absolute;
  inset: auto auto calc(100% - 1px) var(--entry-coach-arrow, 50%);
  width: 22px;
  height: 15px;
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--entry-coach-border);
  pointer-events: none;
}
.entry-coach::after {
  inset-block-end: calc(100% - 2px);
  width: 19px;
  height: 14px;
  background: var(--entry-coach-surface);
}
.entry-coach[data-side="above"]::before, .entry-coach[data-side="above"]::after {
  inset-block: calc(100% - 1px) auto;
  transform: translateX(-50%) rotate(180deg);
}
.entry-coach[data-side="above"]::after { inset-block-start: calc(100% - 2px); }
.entry-coach p { margin: 0; font-size: .9375rem; font-weight: 550; line-height: 1.3; }
.entry-coach-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .3rem; }
.entry-coach-actions span { margin-right: auto; color: #c6bce5; font-size: .78rem; }
.entry-coach-actions button {
  min-width: 2.75rem;
  min-height: 2.375rem;
  padding: 0 .35rem;
  border: 0;
  border-radius: .4rem;
  background: transparent;
  color: #d1c5fa;
  font-size: .85rem;
}
.entry-coach-actions button[data-tour-continue] { color: #f8f6ff; font-weight: 650; }
.entry-coach-actions button:disabled { opacity: .55; }
.entry-coach-actions button:focus-visible { outline-color: var(--entry-spotlight); }
.entry-shell.is-guided dialog[open] { outline: 2px solid var(--entry-spotlight); outline-offset: 4px; }
.entry-shell.is-guided dialog::backdrop { background: transparent; }

@media (min-width: 768px), (hover: hover) and (pointer: fine) {
  .entry-assets .entry-row {
    min-height: 6.6rem;
    padding: .8rem .85rem;
    border-radius: .9rem;
  }
  .entry-assets .entry-token {
    flex-direction: column;
    align-items: flex-start;
    gap: .45rem;
  }
  .entry-assets .entry-token-icon { width: 2rem; height: 2rem; }
  .entry-assets .entry-token-text { width: 100%; }
  .entry-assets .entry-token-text strong { font-size: .96rem; font-weight: 500; }
  .entry-section-heading h2 { font-size: 1.65rem; }
}

@media (width < 768px) and (not ((hover: hover) and (pointer: fine))) {
  .entry-shell {
    background: var(--entry-ink);
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
  .entry-shell:not([data-view="assets"]) { background: #060a10; }
  .entry-workspace { display: block; width: min(100%, 33rem); margin: 0 auto; border-radius: 0; }
  .entry-surface {
    --entry-fg: #f8f9fc;
    --entry-muted: #bdb7d7;
    --entry-accent: #cbbaff;
    --entry-focus: #d6c4ff;
    padding: 0;
    background: #060a10;
  }
  .entry-header, .entry-heading { padding-inline: clamp(1rem, 5.5vw, 1.5rem); background: #15151a; }
  .entry-header { justify-content: space-between; padding-top: 1.25rem; }
  .entry-brand img { width: 6.2rem; filter: none; }
  .entry-nav, .entry-rail > .entry-wallet { display: none; }
  .entry-shell .entry-mobile-search {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: .65rem;
    background: #060a10;
  }
  .entry-heading {
    display: flex;
    align-items: center;
    min-height: 5.25rem;
    margin: 0;
    padding-bottom: .45rem;
    border-bottom: 1px solid #33323d;
  }
  .entry-heading h1 { font-size: 2.05rem; }
  .entry-swap { padding-inline: clamp(1rem, 5.5vw, 1.5rem); }
  .entry-pair { position: relative; display: block; }
  .entry-field { min-height: 0; padding: 1rem 0 1.25rem; border-radius: 0; background: transparent; }
  .entry-field:last-child { border-top: 1px solid #33323d; padding-top: 1.15rem; }
  .entry-field-controls { flex-direction: column-reverse; align-items: stretch; gap: .45rem; margin-top: 0; }
  .entry-field > label, .entry-field-label { float: right; margin-top: .73rem; margin-left: .5rem; font-size: .84rem; }
  .entry-field-controls .entry-pick { align-self: flex-start; max-width: 100%; padding-inline: .2rem; }
  .entry-selection small { display: none; }
  .entry-mobile-network { display: block; color: var(--entry-muted); font-size: .84rem; }
  .entry-shell .entry-amount { flex: auto; width: 100%; font-size: 2.18rem; }
  .entry-reverse {
    position: absolute;
    z-index: 1;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    background: var(--entry-violet);
    border-color: transparent;
  }
  .entry-reverse:hover:not(:disabled) { background: #5b43ff; }
  .entry-reverse .entry-icon { transform: rotate(90deg); }
  .entry-actions { margin-top: .45rem; }
  .entry-shell .entry-primary { width: 100%; background: var(--entry-violet); color: #f8f9fc; }
  .entry-actions > #entry-tour { order: 1; margin-inline: auto; }
  .entry-rail { padding: 1.1rem clamp(1rem, 5.5vw, 1.5rem) 1rem; }
  .entry-assets { margin-top: .5rem; scroll-margin: 1.25rem; }
  .entry-shell:not([data-view="assets"]) .entry-rail,
  .entry-shell[data-view="assets"] :is(.entry-heading, .entry-swap, .entry-orderbook) { display: none; }
  .entry-orderbook {
    --entry-book-guide-y: 46px;
    --entry-book-ring: 13px;
    width: calc(100% - 1.5rem);
    max-height: 16.5rem;
    margin: 1.8rem .75rem .75rem;
    border-radius: 1.375rem;
  }
  .entry-book-heading { inset: .75rem .875rem auto 1rem; }
  .entry-book-heading h2 { font-size: 1.25rem; }
  .entry-book-heading span { font-size: .72rem; }
  .entry-book-volume { fill: url("#entry-book-stripes-compact"); }
  .entry-book-trace { stroke-width: 1.8; }
  .entry-book-guide::before { border-width: 3px; }
  .entry-book-guide span { left: .7rem; font-size: .8125rem; }
  .entry-dock {
    position: fixed;
    z-index: 2;
    inset: auto auto calc(.8rem + env(safe-area-inset-bottom)) 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .25rem;
    width: min(20.875rem, calc(100% - 2.5rem));
    padding: .35rem .4rem;
    border-radius: 99rem;
    background: #f8f9fc;
    color: #131125;
    box-shadow: 0 .4rem 1.25rem #0004;
  }
  .entry-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 4.125rem;
    padding: .22rem .45rem;
    gap: .2rem;
    border-radius: 99rem;
    font-size: .82rem;
  }
  .entry-dock .entry-icon {
    box-sizing: content-box;
    padding: .62rem;
    mask: none;
    background: transparent;
    border-radius: 50%;
  }
  .entry-dock .entry-icon::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    mask: var(--entry-icon) center / contain no-repeat;
    background: currentColor;
  }
  .entry-dock a[aria-current] { color: var(--entry-violet); }
  .entry-dock a[aria-current] .entry-icon { color: #fff; background: var(--entry-violet); }
  .entry-shell .entry-dock [data-open-wallet][aria-disabled="true"] { color: #665b79; }
  .entry-dock.entry-wallet-dock { display: none; }
  :root[data-entry-route="wallet"] .entry-wallet-dock { display: grid; }
}
@media (max-width: 767px) {
  :root[data-entry-route="wallet"] .entry-wallet-workspace {
    display: block;
    width: min(100%, 33rem);
    min-height: 0;
    margin: 0 auto;
    border-radius: 0;
  }
  :root[data-entry-route="wallet"] .entry-wallet-workspace .entry-surface {
    padding: .875rem clamp(1rem, 5.5vw, 1.5rem) 1.5rem;
    background: var(--entry-violet);
  }
  :root[data-theme="light"][data-entry-route="wallet"] .entry-wallet-workspace .entry-surface { background: #fff; }
  .entry-wallet-workspace .entry-header { margin: 0; padding: 0; background: transparent; }
  .entry-wallet-workspace .entry-brand img { filter: brightness(0) invert(1); }
  .entry-wallet-workspace .entry-wallet-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root[data-entry-route="wallet"] .entry-wallet-workspace .entry-wallet-rail { display: block; padding: 1.5rem clamp(1rem, 5.5vw, 1.5rem); }
  .entry-wallet-rail > .entry-wallet-connect { display: none; }
  .entry-wallet-allocation { margin: 0; }
  .entry-wallet-allocation h2 { max-width: none; font-size: 1.25rem; }
}
@media (max-width: 360px) {
  .entry-assets .entry-row { padding-inline: .35rem; }
  .entry-token-icon { width: 1.6rem; height: 1.6rem; }
  .entry-dialog-header { gap: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-veil, .entry-coach { --entry-tour-fade: 0ms; --entry-tour-shift: 0ms; }
}
