@font-face {
  font-family: Manrope;
  src: url('./assets/manrope.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101311;
  --card: #191d1a;
  --field: #222723;
  --line: #333933;
  --fg: #f1f4ef;
  --muted: #a9b0a8;
  --lime: #c3fa82;
  --dim: #8a948a;
  font-family: Manrope, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 58% 25%, #14191400 20%, #11141200 45%), var(--bg);
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}
button:disabled {
  cursor: default;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
button {
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s;
}
a {
  color: inherit;
  text-decoration: none;
}
button:hover:not(:disabled) {
  filter: brightness(1.1);
}
[hidden] {
  display: none !important;
}
.ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
  stroke-width: 1.65;
}
.promo {
  min-height: 34px;
  background: var(--lime);
  color: #243216;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.79rem;
  letter-spacing: 0.015em;
  font-weight: 550;
  padding: 5px 16px;
}
.promo strong {
  font-weight: 800;
}
.promo .ico {
  height: 15px;
  width: 15px;
  fill: currentColor;
  stroke-width: 1;
}
.promo-divider {
  height: 13px;
  width: 1px;
  background: #648b46;
}
.top {
  border-bottom: 1px solid #2c322d;
}
.navwrap,
.footer-wrap,
main {
  max-width: 1216px;
  width: calc(100% - 100px);
  margin-inline: auto;
}
.navwrap {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f0f3ef;
  font-size: 1.72rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.075em;
}
.brand img {
  width: 37px;
  height: 36px;
}
.navwrap nav {
  display: flex;
  height: 100%;
  align-items: stretch;
  gap: 29px;
}
.nav-item {
  font-size: 0.92rem;
  padding: 3px 1px 0;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.nav-item.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
.header-wallet {
  margin-left: auto;
  border: 1px solid #58634f;
  padding: 10px 15px;
  min-height: 39px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ddedcd;
  background: #20281e;
  font-size: 0.865rem;
  font-weight: 700;
}
.header-wallet .ico {
  width: 17px;
}
.header-wallet:hover {
  border-color: var(--lime);
}
main {
  flex: 1;
  padding: 44px 0 32px;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 27px;
}
.page-title h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.36rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.068em;
  margin: 0;
}
.title-dot {
  color: var(--lime);
}
.page-title p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: -0.013em;
  margin: 9px 0 0;
}
.quote-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.quote-status i {
  width: 6px;
  height: 6px;
  background: #a8b19e;
  border-radius: 50%;
}
.quote-status.live i {
  background: var(--lime);
  box-shadow: 0 0 6px #bafa7860;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.43fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 18px;
}
.trade-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.trade-head,
.route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.trade-head {
  margin-bottom: 21px;
}
.mode-rail {
  display: inline-flex;
  align-items: center;
  background: #101411;
  padding: 4px;
  border: 1px solid #2d342e;
  border-radius: 10px;
  gap: 2px;
}
.mode {
  height: 34px;
  min-width: 93px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}
.mode .ico {
  width: 16px;
  height: 16px;
}
.mode.active {
  background: #323b2e;
  color: #d2f5af;
  box-shadow: 0 1px 4px #0004;
}
.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #b2bab1;
  border-radius: 8px;
}
.icon-button:hover {
  background: #303731;
  color: #f6f9f4;
}
.icon-button > .ico {
  width: 19px;
  height: 19px;
}
.token-pair {
  position: relative;
  display: grid;
  gap: 8px;
}
.amount-box {
  border: 1px solid #353b36;
  border-radius: 13px;
  background: var(--field);
  padding: 15px 18px 13px;
}
.amount-top,
.amount-main,
.amount-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.amount-top {
  min-height: 23px;
  color: #bbc3ba;
  font-size: 0.875rem;
  font-weight: 550;
}
.chain-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b8c0b7;
  font-size: 0.79rem;
  font-weight: 550;
  padding: 1px 0 1px 5px;
  white-space: nowrap;
}
.chain-button:hover {
  color: var(--fg);
}
.chain-button .ico,
.token-button > .ico {
  width: 13px;
  height: 13px;
}
.amount-main {
  margin: 10px 0 5px;
  min-height: 48px;
}
.amount-main input,
.amount-main output {
  min-width: 0;
  width: 100%;
  background: none;
  color: #f4f5f2;
  line-height: 1.2;
  letter-spacing: -0.065em;
  font-weight: 550;
  font-size: clamp(1.95rem, 3.1vw, 2.85rem);
  padding: 0;
  border: 0;
  font-variant-numeric: tabular-nums;
}
.amount-main output {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.amount-main input:focus {
  outline: none;
}
.amount-box:focus-within {
  border-color: #71805d;
}
.token-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #343b35;
  border: 1px solid #485047;
  border-radius: 100px;
  min-height: 40px;
  padding: 4px 12px 4px 5px;
  letter-spacing: -0.035em;
  font-size: 1.05rem;
  font-weight: 750;
  flex-shrink: 0;
}
.token-button > .ico {
  margin-left: 1px;
  color: #bac2b9;
}
.token-button:hover {
  background: #414940;
}
.coin,
.chain-mark,
.wallet-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
}
.coin {
  height: 29px;
  width: 29px;
}
.coin svg,
.chain-mark svg,
.wallet-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.coin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coin-text {
  font-size: 0.69rem;
  line-height: 1;
  color: white;
  font-weight: 800;
  background: #55659e;
}
.chain-mark {
  height: 16px;
  width: 16px;
}
.amount-foot {
  color: #a9b1a8;
  min-height: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}
.amount-foot span:last-child {
  font-size: 0.76rem;
}
.max-btn {
  margin-left: 6px;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
}
.reverse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #2c332c;
  box-shadow: 0 0 0 4px var(--card);
  border: 1px solid #485047;
  border-radius: 10px;
  color: #e6ece0;
}
.reverse .ico {
  width: 16px;
  height: 16px;
}
.exchange-rate {
  font-size: 0.81rem;
  color: #b3bcb1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  letter-spacing: -0.008em;
  font-variant-numeric: tabular-nums;
}
.rate-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rate-left .ico {
  width: 15px;
  height: 15px;
  color: #879783;
}
.rate-flip {
  color: #b5beb1;
  border-radius: 4px;
  padding: 3px;
  display: flex;
  align-items: center;
}
.rate-flip .ico {
  height: 13px;
  width: 13px;
}
.primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  background: var(--lime);
  color: #1d2c12;
  border-radius: 9px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.primary:hover {
  background: #d0ff9b;
}
.primary:disabled {
  background: #30382f;
  color: #b2bbaa;
}
.primary .ico {
  width: 18px;
  height: 18px;
}
.trade-card > .primary {
  margin-top: auto;
}
.form-message {
  color: #cbd2c7;
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 11px 0 0;
}
.route-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.route-head {
  padding: 17px 21px 15px;
  min-height: 68px;
}
.route-head h2 {
  font-size: 1.085rem;
  letter-spacing: -0.035em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.route-head h2 .ico {
  color: var(--lime);
  height: 19px;
  width: 19px;
}
.route-head .icon-button {
  height: 28px;
  width: 28px;
}
.route-head .icon-button .ico {
  width: 16px;
  height: 16px;
}
.route-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 154px;
  min-height: 154px;
  background: #101710;
  border-block: 1px solid #2d392d;
}
.route-art canvas {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
}
.art-token {
  position: absolute;
  z-index: 1;
  border: 1px solid #536547;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.66rem;
  line-height: 1.25;
  font-weight: 750;
  background: #1a241ce8;
  color: #e6f6d8;
  box-shadow: 0 2px 6px #0004;
  letter-spacing: 0.04em;
  max-width: 29%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.art-a {
  left: 15%;
  top: 70%;
  transform: translate(-50%, 12px);
}
.art-b {
  left: 82%;
  top: 37%;
  transform: translate(-50%, -32px);
}
.route-data {
  padding: 12px 22px 10px;
  display: grid;
  gap: 0;
  flex: 1;
}
.route-data > div,
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  font-size: 0.84rem;
}
.route-data > div > span,
.summary-row > span {
  color: var(--muted);
}
.route-data strong,
.summary-row strong {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}
.route-data del {
  color: #8c9588;
  margin-right: 7px;
  font-weight: 450;
}
.fee-now {
  color: var(--lime);
}
.routes-btn {
  margin: 0 21px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #3c453a;
  background: #232923;
  border-radius: 8px;
  min-height: 38px;
  text-align: left;
  padding: 7px 12px;
  color: #dde5d8;
  font-size: 0.82rem;
  font-weight: 650;
}
.routes-btn .ico {
  width: 15px;
  height: 15px;
}
.routes-btn:disabled {
  color: #8c9689;
}
.routes-btn .last-icon {
  margin-left: auto;
}
.route-count {
  font-size: 0.7rem;
  min-width: 18px;
  border-radius: 4px;
  padding: 1px 5px;
  background: #384331;
  color: #daefc7;
  text-align: center;
}
.networks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 25px 0 0;
  padding: 21px 0 0;
  border-top: 1px solid #30372f;
}
.networks h2 {
  font-size: 0.81rem;
  color: #a0ab9e;
  font-weight: 550;
  margin: 0;
  white-space: nowrap;
}
.networks > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(13px, 2.6vw, 49px);
}
.network {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 650;
  white-space: nowrap;
  color: #c8cfc5;
}
.network .chain-mark {
  width: 21px;
  height: 21px;
}
footer {
  border-top: 1px solid #282e28;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 67px;
  gap: 15px;
}
.footer-brand {
  font-size: 1.03rem;
  color: #b4bcb1;
  gap: 6px;
  letter-spacing: -0.06em;
}
.footer-brand img {
  width: 22px;
  height: 22px;
  filter: grayscale(1);
  opacity: 0.6;
}
.footer-brand span {
  font-size: 0.76rem;
  font-weight: 500;
  color: #929c8e;
  letter-spacing: 0;
  margin-left: 8px;
}
.footer-wrap > div:last-child,
.footer-wrap a,
.footer-wrap button {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-wrap > div:last-child {
  gap: 23px;
}
.footer-wrap a,
.footer-wrap button {
  color: #a4aea1;
  font-size: 0.79rem;
  font-weight: 550;
  padding: 5px 0;
}
.footer-wrap .ico {
  width: 14px;
  height: 14px;
}
dialog {
  width: min(460px, calc(100vw - 24px));
  max-height: min(85dvh, 790px);
  padding: 22px;
  border: 1px solid #485144;
  border-radius: 17px;
  background: #1a1f1b;
  color: var(--fg);
  box-shadow: 0 25px 100px #0008;
  overflow: auto;
}
dialog::backdrop {
  background: #050905ba;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}
.dialog-head h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.045em;
}
.dialog-head .icon-button {
  background: #2b322c;
  flex-shrink: 0;
}
.dialog-copy,
.empty-text,
.activity-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #b6beb3;
}
.dialog-copy {
  margin: 0 0 16px;
}
.choice-list {
  display: grid;
  gap: 5px;
}
.choice,
.wallet-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  width: 100%;
  border-radius: 9px;
  text-align: left;
  border: 1px solid transparent;
}
.choice:hover,
.wallet-link:hover {
  background: #252d26;
}
.choice.chosen {
  background: #293326;
  border-color: #465a3d;
}
.choice .chain-mark,
.choice .coin,
.wallet-mark {
  width: 33px;
  height: 33px;
}
.choice .label,
.wallet-link .label {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.choice strong,
.wallet-link strong {
  font-size: 0.93rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.choice small,
.wallet-link small {
  color: #aab5a6;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.choice > .ico,
.wallet-link > .ico {
  color: var(--lime);
  width: 17px;
}
.suffix {
  margin-left: auto;
  font-size: 0.76rem;
  color: #bbc9b3;
}
.choice .tag {
  font-size: 0.69rem;
  color: #c8efab;
  background: #36472d;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.search-input,
.setting-input {
  background: #111612;
  border: 1px solid #414b40;
  border-radius: 8px;
  min-height: 42px;
  color: var(--fg);
  padding: 8px 12px;
}
.search-input {
  width: 100%;
  margin: 0 0 12px;
}
.search-input::placeholder {
  color: #929e8d;
}
.asset-results {
  overflow: auto;
  max-height: 46dvh;
  min-height: 0;
}
.modal-chain {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: #282f28;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.85rem;
  margin: 0 0 10px;
}
.modal-chain .ico {
  margin-left: auto;
  width: 15px;
}
.settings-options {
  display: flex;
  gap: 7px;
  margin: 10px 0 18px;
}
.settings-options button,
.subtle {
  border: 1px solid #495446;
  background: #282f28;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.85rem;
}
.settings-options .chosen {
  color: var(--lime);
  border-color: #7da25f;
}
.setting-label {
  display: block;
  font-size: 0.9rem;
  margin: 10px 0;
}
.setting-input {
  width: 100%;
  margin-bottom: 10px;
}
.detail-block {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.summary-row {
  font-size: 0.86rem;
  margin: 3px 0;
}
.summary-row strong {
  max-width: 65%;
  overflow-wrap: anywhere;
}
.wallet-mark {
  font-size: 0.78rem;
  font-weight: 800;
  background: #344733;
  color: #dcfad1;
  border-radius: 10px;
}
.modal-status {
  font-size: 0.85rem;
  color: #edcc98;
  line-height: 1.55;
  margin: 10px 0;
}
.modal-status:empty {
  display: none;
}
.activity-card {
  padding: 28px;
  min-height: 150px;
}
.activity-empty {
  text-align: center;
  padding: 36px 0;
}
.activity-empty > .ico {
  color: var(--lime);
  width: 27px;
  height: 27px;
}
.activity-empty h2 {
  font-size: 1.2rem;
  margin: 12px 0 4px;
}
.activity-empty p {
  margin: 0;
}
.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.activity-item small {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 3px;
}
.activity-item a {
  color: var(--lime);
  font-size: 0.85rem;
}
#toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: #e3efdb;
  color: #25331e;
  font-size: 0.875rem;
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 3px 20px #0005;
  max-width: 90vw;
}
.guide-section h3 {
  font-size: 0.97rem;
  margin: 18px 0 5px;
}
.guide-section p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.guide-section a {
  color: var(--lime);
  text-decoration: underline;
}
.mobile-hint {
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.busy .ico {
  animation: spin 1.2s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1550px) {
  main {
    padding-top: 58px;
  }
  .page-title {
    margin-bottom: 35px;
  }
  .route-art {
    height: 180px;
  }
  .amount-box {
    padding-block: 18px;
  }
  .networks {
    margin-top: 32px;
    padding-top: 25px;
  }
}
@media (max-width: 1050px) {
  .navwrap,
  .footer-wrap,
  main {
    width: calc(100% - 60px);
  }
  .workspace {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 16px;
  }
  .trade-card {
    padding: 18px;
  }
  .networks {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .networks > div {
    width: 100%;
    gap: 10px;
  }
  .navwrap {
    gap: 44px;
  }
}
@media (max-width: 760px) {
  .navwrap,
  .footer-wrap,
  main {
    width: calc(100% - 36px);
  }
  .navwrap {
    height: 65px;
    gap: 24px;
  }
  .navwrap nav {
    gap: 14px;
  }
  .brand {
    font-size: 1.48rem;
    gap: 6px;
  }
  .brand img {
    width: 30px;
  }
  .header-wallet {
    font-size: 0.8rem;
    padding: 8px 10px;
  }
  .nav-item {
    font-size: 0.83rem;
  }
  main {
    padding: 30px 0;
  }
  .page-title {
    margin-bottom: 20px;
  }
  .page-title h1 {
    font-size: 2.48rem;
  }
  .page-title p {
    font-size: 0.9rem;
    margin-top: 6px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .amount-main input,
  .amount-main output {
    font-size: 2.42rem;
  }
  .route-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .route-head {
    grid-column: 1/-1;
    padding: 14px 18px;
    min-height: 50px;
  }
  .route-art {
    height: 150px;
    min-height: 150px;
    border-bottom: 0;
    align-self: stretch;
    grid-row: 2/4;
  }
  .route-data {
    padding: 2px 16px 8px;
  }
  .routes-btn {
    margin: 0 14px 12px;
  }
  .networks > div {
    flex-wrap: wrap;
    gap: 16px 23px;
  }
  .network .chain-mark {
    height: 19px;
    width: 19px;
  }
  .network {
    font-size: 0.8rem;
  }
  .quote-status {
    font-size: 0.7rem;
  }
}
@media (max-width: 560px) {
  .navwrap {
    flex-wrap: wrap;
    gap: 0;
    justify-content: space-between;
    height: auto;
    padding-top: 10px;
  }
  .navwrap nav {
    order: 3;
    width: 100%;
    height: 40px;
    gap: 22px;
  }
  .header-wallet {
    margin-left: 0;
    min-height: 35px;
  }
  .page-title h1 {
    font-size: 2.08rem;
  }
  .page-title {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 9px;
  }
  .quote-status {
    display: none;
  }
  .promo {
    gap: 6px;
    font-size: 0.68rem;
    min-height: 30px;
    padding: 4px;
  }
  .promo .ico {
    height: 12px;
    width: 12px;
  }
  .promo-divider {
    height: 10px;
  }
  .navwrap,
  .footer-wrap,
  main {
    width: calc(100% - 28px);
  }
  main {
    padding-top: 24px;
  }
  .card {
    border-radius: 14px;
  }
  .trade-card {
    padding: 14px;
  }
  .trade-head {
    margin-bottom: 16px;
  }
  .amount-box {
    padding: 13px 13px 11px;
  }
  .amount-main input,
  .amount-main output {
    font-size: 2.1rem;
  }
  .amount-main {
    gap: 8px;
  }
  .token-button {
    font-size: 0.95rem;
    gap: 6px;
    min-height: 36px;
    padding-right: 8px;
  }
  .token-button .coin {
    height: 25px;
    width: 25px;
  }
  .mode {
    height: 31px;
    min-width: 82px;
    font-size: 0.85rem;
  }
  .route-card {
    display: flex;
  }
  .route-head {
    width: 100%;
  }
  .route-art {
    width: 100%;
    height: 143px;
    min-height: 143px;
    border-bottom: 1px solid #2d392d;
  }
  .route-data {
    width: 100%;
    padding: 10px 16px;
  }
  .routes-btn {
    align-self: stretch;
    margin: 0 14px 14px;
  }
  .networks {
    margin-top: 20px;
  }
  .networks > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px 5px;
  }
  .footer-wrap {
    min-height: 60px;
  }
  .footer-wrap > div:last-child {
    gap: 13px;
  }
  .footer-brand span {
    margin-left: 3px;
    font-size: 0.68rem;
  }
  .footer-wrap a,
  .footer-wrap button {
    font-size: 0.72rem;
  }
  .footer-brand {
    font-size: 0.89rem;
  }
  .footer-brand img {
    width: 18px;
  }
  .activity-card {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.account-address {
  font-size: 0.87rem;
  word-break: break-all;
  background: #111612;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.wallet-actions {
  display: flex;
  gap: 9px;
}
.published-volume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.published-volume small {
  color: var(--muted);
  font-size: 0.75rem;
  margin-left: 6px;
}
.activity-empty .subtle {
  margin-top: 13px;
}
