:root {
  --bg: #191d21;
  --bg-2: #1c2126;
  --panel: #22272c;
  --panel-2: #1f2429;
  --input: #2a3036;
  --line: #2f363d;
  --text: #ffffff;
  --muted: #abb6c1;
  --mint: #64f0bf;
  --mint-hover: #95fbd7;
  --violet: #7b7dfb;
  --violet-2: #8587fb;
  --dark: #191d21;
  --shadow: 0 4px 34px #1e2328a1;
  --radius: 8px;
}

* { box-sizing: border-box; }
fieldset { min-width: 0; max-width: 100%; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 24px;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

[hidden] { display: none !important; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--mint-hover); }
button, input, select { font-family: inherit; }

.wrap {
  width: min(1276px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.topbar {
  height: 71px;
  display: flex;
  align-items: center;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-inner {
  width: min(1856px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}

.brand img {
  height: 24px;
  width: auto;
  display: block;
  background: transparent;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  cursor: pointer;
  position: relative;
  font-size: 13px;
}

.lang img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 28px;
  left: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 168px;
  max-height: min(70vh, 480px);
  overflow-y: auto;
  padding: 8px 0;
  z-index: 80;
}

.lang:hover .lang-menu,
.lang.open .lang-menu { display: block; }

.lang-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.lang-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 12px;
  color: #fff;
  font-size: 13px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.lang-menu button img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-menu button:hover,
.lang-menu button.active { background: #2a3036; color: #fff; }

html[dir="rtl"] .lang-menu {
  left: auto;
  right: 0;
}

html[dir="rtl"] .lang-menu button {
  text-align: right;
}

html[dir="rtl"] .topbar-inner,
html[dir="rtl"] .menu,
html[dir="rtl"] .hero,
html[dir="rtl"] .swap-card,
html[dir="rtl"] .footer-grid {
  direction: rtl;
}

.menu {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.menu a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  opacity: 1;
}

.menu a:hover { color: #fff; opacity: 1; }

.auth {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 18px;
}

.btn-login {
  background: linear-gradient(80.26deg, #2a2f34 -9.48%, #1f2328 119.79%);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, 0.57) 0px 4px 54px 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-login:hover { background: var(--mint); color: var(--dark); }

.btn-mint {
  background: var(--mint);
  color: var(--dark);
  border: none;
  border-radius: 3px;
  padding: 10px 24px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: rgba(0, 0, 0, 0.57) 0px 4px 54px 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-mint:hover { background: var(--mint-hover); color: var(--dark); }
.btn-mint:disabled {
  background: linear-gradient(80.26deg, #3d4349 -9.48%, #373f48 119.79%);
  color: #fff;
  cursor: wait;
}

/* Hero */
.hero {
  padding: 57px 0 28px;
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  width: min(1070px, 100%);
  font-size: 56px;
  font-weight: 500;
  line-height: 72.8px;
  color: #fff;
}

.hero h1 em,
.hero h1 span {
  font-style: normal;
  color: var(--violet);
}

.exchanger {
  width: min(1276px, calc(100% - 48px));
  max-width: 100%;
  min-width: 0;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 8px;
  height: 38px;
  margin: 0 0 16px;
  padding: 0 16px;
  border: 1px solid #7b7dfb;
  border-radius: 8px;
  color: #7b7dfb;
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  background: var(--bg);
  position: relative;
  z-index: 5;
  width: fit-content;
}

.chip b { color: #7b7dfb; font-weight: 600; }
.chip svg { display: block; }

/* Widget */
.widget {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  border-radius: 6px;
  overflow: visible;
  background: linear-gradient(80.26deg, #2a2f34 -9.48%, #1f2328 119.79%);
  padding-bottom: 8px;
}

.widget::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  z-index: 3;
  pointer-events: none;
}

.pane {
  background: transparent;
  padding: 18px 34px 52px;
  min-height: 268px;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.pane-left {
  padding: 18px 54px 52px 34px;
  border-radius: 6px 0 0 6px;
}

.pane-right {
  padding: 18px 34px 52px 54px;
  border-radius: 0 6px 6px 0;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.04);
}

.pane-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  min-height: 26px;
  gap: 15px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
}

.step-n {
  min-width: 50px;
  height: 26px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 10px;
  text-transform: uppercase;
  color: #9b9b9b;
  border-radius: 4px;
  background: linear-gradient(80.26deg, #3d4349 -9.48%, #373f48 119.79%);
}

.step-badge span b { color: var(--violet); font-weight: 600; }

.refresh {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #737f8b;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.refresh-ring {
  display: block;
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.refresh-ring .track { stroke: rgba(123, 125, 251, 0.18); }
.refresh-ring .arc {
  stroke: #7b7dfb;
  stroke-linecap: square;
  transition: stroke-dashoffset 1s linear;
}

.amt-box {
  margin: 0;
  padding: 0;
  min-width: 0;
  min-inline-size: 0;
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #737f8b;
  border-radius: 4px;
  overflow: visible;
  transition: 0.3s linear;
}
.amt-row {
  display: flex;
  align-items: stretch;
  height: 66px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
}
.amt-box:hover,
.outline-box:hover {
  border-color: #fff;
}
.amt-box:hover legend,
.outline-box:hover legend {
  color: #fff;
}

.amt-box legend,
.outline-box legend {
  position: relative;
  z-index: 2;
  color: #737f8b;
  font-size: 14px;
  font-weight: 500;
  line-height: 0;
  padding: 0 2px;
  margin: 0 16px;
  transition: 0.3s linear;
}

.field {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: auto;
  height: 100%;
  min-width: 0;
  background: linear-gradient(80.26deg, #2a2f34 -9.48%, #1f2328 119.79%);
  border-radius: 4px 0 0 4px;
  padding: 17px 14px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.field-meta {
  flex: 1;
  min-width: 0;
}

.field-meta input,
.to-value {
  width: 100%;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: 0.3s linear;
}

.coin-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 150px;
  flex: 0 0 150px;
  min-width: 0;
  background: linear-gradient(80.26deg, #2a2f34 -9.48%, #1f2328 119.79%);
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0 12px 0 16px;
  border-radius: 0 4px 4px 0;
}

.coin-btn img,
.coin-icon.svgcoin {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  background-color: #111;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: contain;
}

.coin-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(80.26deg, #3d4349 -9.48%, #373f48 119.79%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.coin-icon.svgcoin.sm {
  width: 28px;
  height: 28px;
}

.coin-btn .coin-txt {
  text-align: left;
  line-height: 1.15;
}

.coin-btn .coin-txt strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.coin-btn .coin-txt small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.limits {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
  color: #abb6c1;
}
.limits > div:nth-of-type(2) { margin-left: 0; }

.limits button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--violet);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s linear;
}

.limits button:hover { color: var(--mint); }

@media (min-width: 768px) {
  .field { padding: 17px 22px 17px 14px; }
  .field-meta input,
  .to-value { font-size: 24px; }
}
@media (min-width: 1024px) {
  .field { padding: 20px 17px 17px; }
  .limits { margin-top: 8px; }
}
@media (min-width: 1190px) {
  .field { padding: 20px 22px 17px 17px; }
}

.partner-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  min-height: 36px;
}

.partner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #111 0 38%, #64f0bf 38% 52%, #ffc704 52% 68%, #7b7dfb 68% 82%, #111 82%);
  display: block;
  flex-shrink: 0;
}

.partner strong { color: #fff; font-size: 11px; display: block; line-height: 1.1; font-weight: 600; }
.partner span { font-size: 10px; color: #737f8b; }

.fastest {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  min-width: 60px;
  height: 20px;
  background: #2c2b0e;
  color: #ffc704;
  font-size: 8px;
  font-weight: 600;
  line-height: 10px;
  letter-spacing: 0.02em;
  border: 1px solid #585111;
  border-radius: 10px;
  padding: 4px 8px 4px 4px;
  box-sizing: border-box;
  flex-shrink: 0;
  white-space: nowrap;
}
.partner-row > span:not(.fastest) {
  min-width: 0;
  line-height: 1.3;
}

.fastest svg { display: block; flex-shrink: 0; }

.rate-line {
  margin: 10px 0 0;
  color: #737f8b;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.rate-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: #fff;
  font-size: 16px;
}

.switch {
  width: 36px;
  height: 22px;
  border-radius: 100px;
  background: var(--mint);
  padding: 0;
  cursor: pointer;
  border: 0;
  position: relative;
  display: grid;
  place-items: center;
}

.switch svg { display: block; }
.switch.fixed { background: #737f8b; }

.rate-toggle button.link {
  background: none;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 0 0 4px;
  cursor: pointer;
  text-decoration: none;
}

.rate-toggle button.link.off {
  color: #737f8b;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
  text-decoration-color: #737f8b;
}

.rate-toggle .or { color: #737f8b; font-size: 16px; font-weight: 500; }

.amt-box .lock {
  background: linear-gradient(80.26deg, #2a2f34 -9.48%, #1f2328 119.79%);
  padding: 0 4px 0 0;
  margin: 0;
  display: grid;
  place-items: center;
  color: #737f8b;
  flex: 0 0 auto;
}

.step2-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.widget[data-step="2"] .step2-row { display: flex; }

.promo-copy { min-width: 0; flex: 1; text-align: left; }
.promo-title {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}
.promo-sub {
  margin: 4px 0 0;
  color: #abb6c1;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
}

.outline-box {
  margin: 0;
  padding: 0;
  min-width: 0;
  min-inline-size: 0;
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid #737f8b;
  border-radius: 4px;
  background: transparent;
  overflow: visible;
  transition: 0.3s linear;
}
.outline-row {
  display: flex;
  align-items: center;
  height: 58px;
  min-width: 0;
  width: 100%;
}

.promo-box { width: 165px; flex: 0 0 165px; }
.dest-box { width: 100%; }

.outline-box input {
  flex: 1;
  min-width: 0;
  height: 56px;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 0 0 0 16px;
}

.outline-box input::placeholder { color: #737f8b; }

.paste-btn {
  flex-shrink: 0;
  width: 65px;
  height: 29px;
  margin-right: 12px;
  border: 1px solid rgba(115, 127, 139, 0.4);
  border-radius: 4px;
  background: linear-gradient(80.26deg, #3d4349 -9.48%, #373f48 119.79%);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.paste-btn:hover { color: var(--mint); }

.dest-wrap { width: 100%; }
.dest-col { width: 100%; min-width: 0; }
.dest-error {
  margin: 6px 0 0;
  color: #e35d5d;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-align: left;
}
.outline-box.is-error {
  border-color: #e35d5d;
}
.outline-box.is-error legend { color: #e35d5d; }
.dest-clear {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  border: 0;
  background: none;
  color: #e35d5d;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.dest-box.has-value .paste-btn { display: none; }
.dest-box.has-value .dest-clear { display: block; }
.dest-clear[hidden] { display: none !important; }

.page-exchange .ex-page,
.page-order .tx-page {
  padding: 28px 0 72px;
  min-height: calc(100vh - 71px - 420px);
}
.page-exchange .tx-crumb,
.page-order .tx-crumb {
  width: min(1276px, calc(100% - 48px));
  margin: 0 auto 24px;
  font-size: 14px;
}
.page-exchange .exchanger { margin-top: 0; }
.page-exchange .social-rail,
.page-exchange .tracker-tab { display: none; }

body.is-exchange-flow .hero > h1,
body.is-exchange-flow .chip,
body.is-exchange-flow .features,
body.is-exchange-flow .stats,
body.is-exchange-flow .reviews,
body.is-exchange-flow .best,
body.is-exchange-flow .app-promo,
body.is-exchange-flow .footer,
body.is-exchange-flow .social-rail,
body.is-exchange-flow .tracker,
body.is-exchange-flow .tracker-tab {
  display: none !important;
}
body.is-exchange-flow .hero {
  padding-top: 28px;
}

.site-footer {
  border-top: 1px solid #2a3036;
  padding: 36px 0 20px;
  background: #191d21;
}
.site-footer-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.site-footer-tag {
  color: #737f8b;
  font-size: 14px;
  border-left: 1px solid #3a424b;
  padding-left: 16px;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.3fr 1.1fr 1.1fr;
  gap: 24px 32px;
  margin-bottom: 28px;
}
.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.site-footer a {
  display: block;
  color: #737f8b;
  font-size: 13px;
  margin: 0 0 8px;
}
.site-footer a:hover { color: #fff; }
.pair-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 22px;
  margin: 0;
  color: #fff;
  font-size: 14px;
}
.download-app {
  margin: 0 0 10px;
  color: #737f8b;
  font-size: 13px;
}
.site-footer .stores { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer .store {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  background: #111;
  border: 1px solid #2a3036;
  color: #fff;
  font-size: 12px;
}
.site-footer-bottom {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #2a3036;
  color: #737f8b;
  font-size: 13px;
}
.site-footer-bottom a { margin: 0; display: inline; }
.site-footer-bottom .copy { margin-left: auto; }
.kyc-pill {
  font-size: 11px;
  padding: 4px 8px;
  border: 1px solid #3a424b;
  border-radius: 4px;
  color: #abb6c1;
}

.mid-swap {
  position: absolute;
  left: 50%;
  top: 148px;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #262b30;
  box-shadow: 0 0 0 5px var(--bg);
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.mid-swap:hover { opacity: 0.85; }

.widget-foot {
  width: 100%;
  margin: 16px auto 0;
  padding: 0 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 4;
}

.foot-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-top: -76px;
}

.legal {
  color: #737f8b;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  margin: 0;
}

.legal a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--mint); }

.swap-cta {
  width: 200px;
  min-width: 200px;
  height: 60px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: var(--mint);
  color: var(--dark);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: rgba(30, 35, 40, 0.63) 0px 4px 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.swap-cta:hover { background: var(--mint-hover); }
.swap-cta:disabled,
.swap-cta.is-muted {
  background: rgb(83, 126, 114);
  color: rgb(25, 29, 33);
  cursor: default;
}

.btn-back {
  display: none;
  width: 122px;
  height: 60px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: #3c434a;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: rgba(30, 35, 40, 0.63) 0px 4px 34px;
  align-items: center;
  justify-content: center;
}
.widget[data-step="2"] + .widget-foot .btn-back { display: inline-flex; }
.btn-back:hover { background: #464e56; }

.error-msg {
  max-width: 1276px;
  margin: 10px auto 0;
  color: #ff7b93;
  font-size: 14px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 56px auto 8px;
  max-width: 1276px;
  text-align: left;
}

.feat h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}

.icon {
  width: 46px;
  height: 46px;
  color: var(--violet);
  flex-shrink: 0;
  object-fit: contain;
}

.tag {
  display: inline-block;
  margin-left: 8px;
  border: 1px solid #7b7dfb;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 500;
  color: #7b7dfb;
  vertical-align: middle;
}

/* Stats */
.stats {
  position: relative;
  padding: 64px 0 40px;
}

.stats h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
}

.stats .lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.chev {
  position: absolute;
  right: 8%;
  top: 72px;
  width: 56px;
  height: 56px;
  color: var(--violet);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat svg { color: var(--violet); flex-shrink: 0; }
.stat strong { display: block; font-size: 28px; font-weight: 600; line-height: 1.2; }
.stat span { color: var(--muted); font-size: 14px; }

/* Reviews */
.reviews { padding: 28px 0 48px; }
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.reviews h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
}

.tp {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.tp-star { color: #00b67a; font-size: 22px; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.review {
  background: var(--panel);
  border-radius: 8px;
  padding: 18px 16px;
  min-height: 180px;
}

.stars { color: #00b67a; letter-spacing: 2px; font-size: 14px; margin-bottom: 8px; }
.review h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.review p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 20px; }
.review small { color: #8b98a5; }

/* Best platform */
.best { padding: 24px 0 56px; }
.best h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 600;
  max-width: 720px;
}
.best > .lead { color: var(--muted); margin: 0 0 28px; max-width: 640px; }

.best-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.best-card {
  background: var(--panel);
  border-radius: 8px;
  padding: 22px 20px;
}

.best-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.best-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 22px; }

/* App promo */
.app-promo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 24px 0 56px;
}

.app-promo h3 { font-size: 28px; margin: 0 0 14px; }
.app-promo ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.app-promo li { margin: 0 0 8px; padding-left: 18px; position: relative; }
.app-promo li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.stores { display: flex; gap: 10px; margin-top: 18px; }
.store {
  background: #111;
  border: 1px solid #333;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
}

/* Footer */
.footer {
  border-top: 1px solid #2a3036;
  padding: 40px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.footer a { display: block; color: var(--muted); margin: 0 0 8px; font-size: 13px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #2a3036;
}

/* Side rails */
.social-rail {
  position: fixed;
  right: 0;
  top: 160px;
  width: 48px;
  background: #1c2126;
  border-radius: 8px 0 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 14px;
  z-index: 30;
}

.social-rail a { color: #9aa6b2; }
.social-rail a:hover { color: #fff; }

.tracker-tab {
  position: fixed;
  left: 0;
  top: 42%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: #2a3036;
  color: #fff;
  border: 0;
  border-radius: 0 8px 8px 0;
  padding: 14px 8px;
  font-size: 13px;
  cursor: pointer;
  z-index: 30;
}

.tracker {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 320px;
  background: #22272c;
  z-index: 40;
  padding: 24px;
  box-shadow: 8px 0 30px #0006;
}

.tracker.open { display: block; }
.tracker h3 { margin: 0 0 12px; }
.tracker input {
  width: 100%;
  background: #191d21;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 12px;
}

/* Modals */
.overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(25, 29, 33, 0.78);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s linear, visibility .2s linear;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal {
  width: min(520px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: linear-gradient(80.26deg, #2a2f34 -9.48%, #1f2328 119.79%);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.modal h3 { margin: 0 0 14px; font-size: 22px; font-weight: 600; }

.addr-modal {
  position: relative;
  width: min(448px, 100%);
  background: #272c31;
  border-radius: 6px;
  padding: 28px 28px 24px;
  margin: 0 2rem;
}

.addr-modal h3 {
  margin: 0 36px 8px 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.addr-modal .addr-sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.addr-modal .addr-input {
  border: 1px solid #ffffff;
  background: #1c2126;
  height: 48px;
  padding: 0 14px;
  margin: 0 0 16px;
  border-radius: 4px;
}

.addr-modal .addr-input:focus {
  outline: none;
  border-color: var(--mint);
}

.addr-modal .btn-mint {
  width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}

.addr-modal .close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  float: none;
  color: #abb6c1;
  font-size: 20px;
}

.addr-modal .close-x:hover { color: #fff; }

.addr-modal .error-msg {
  max-width: none;
  margin: -8px 0 12px;
}

.aml-modal .aml-error {
  margin: 0 0 12px;
  color: #ff8f8f;
  font-size: 13px;
  line-height: 18px;
}

#aml-overlay {
  z-index: 120;
}

#aml-overlay .aml-modal {
  position: relative;
}

.aml-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 18px;
}

.aml-copy span {
  display: block;
  line-height: 1.45;
}

.aml-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aml-confirm-actions .btn-ghost {
  width: 100%;
  height: 48px;
  border: 1px solid #4b5560;
  background: transparent;
  color: #d5dde5;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.aml-confirm-actions .btn-ghost:hover {
  border-color: #abb6c1;
  color: #fff;
}

#aml-main[hidden],
#aml-confirm[hidden] {
  display: none !important;
}

#aml-overlay[hidden] {
  display: none !important;
}

#aml-overlay:not([hidden]),
#aml-overlay.open {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search {
  width: 100%;
  background: #191d21;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.coin-list { max-height: 420px; overflow: auto; }
.coin-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 10px 8px;
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
}

.coin-item:hover { background: #191d21; }
.coin-item.pay-disabled:hover,
.coin-item[data-inactive="1"]:hover { background: transparent; }
.coin-item img { width: 28px; height: 28px; border-radius: 50%; }
.coin-item small { color: var(--muted); display: block; }

.coin-item.pay-disabled,
.coin-item[data-inactive="1"] {
  cursor: not-allowed;
  opacity: 1;
}

.coin-item.pay-disabled > *,
.coin-item[data-inactive="1"] > * {
  opacity: 0.22;
}

.coin-item.pay-disabled small,
.coin-item[data-inactive="1"] small {
  opacity: 0.55;
  color: #ffb4c0;
}

.coin-btn.is-offline {
  opacity: 0.45;
}

.addr-input {
  width: 100%;
  background: #191d21;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  padding: 14px;
  font-size: 14px;
  margin: 8px 0 16px;
}

.close-x {
  float: right;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.tx-page { padding: 18px 0 48px; }
.tx-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.tx-crumb a { color: var(--muted); }
.tx-crumb a:hover { color: #fff; }
.tx-crumb .current { color: var(--mint); }

.tx-card {
  position: relative;
  font-size: 10px;
  line-height: 1.5;
  color: var(--mint);
  background: linear-gradient(80.26deg, #2a2f34 -9.48%, #1f2328 119.79%);
  border-radius: 6px;
  overflow: visible;
}
.tx-accent {
  width: 100%;
  height: 2px;
  background: #272c31;
}
.tx-accent i {
  display: block;
  width: 60%;
  height: 100%;
  background: #7b7dfb;
}
.tx-card.is-overdue .tx-accent i { background: #f75353; width: 42%; }

.tx-top { border-radius: 6px 6px 0 0; overflow: hidden; }
.tx-top-pad,
.tx-top { padding: 14px 16px 24px; }
.tx-body { padding: 0 16px 16px; }

.tx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tx-head-left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.tx-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s linear;
}
.tx-back:hover { color: #64f0bf; }
.tx-back-ico {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  padding-left: 1px;
}
.tx-step-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tx-step-wrap .tx-step-name,
.tx-step-wrap span {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.tx-timer {
  position: relative;
  width: 64px;
  height: 32px;
}
.tx-timer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(80.26deg, #3d4349 -9.48%, #373f48 119.79%);
}
.tx-timer-inner span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.tx-timer svg {
  position: absolute;
  top: 0;
  left: -1px;
  width: 66px;
  height: 34px;
  border-radius: 4px;
  pointer-events: none;
}
.tx-timer svg path { stroke: #7b7dfb; }
.tx-timer.low .tx-timer-inner span { color: #f75353; }
.tx-timer.low svg path { stroke: #f75353; }

.tx-notify {
  position: relative;
  overflow: hidden;
  padding: 24px 16px;
  margin-top: 24px;
  border-radius: 6px;
  background: url("/assets/img/tx/notify-bg-mobile.webp") center / cover no-repeat;
}
.tx-notify-inner { position: relative; z-index: 2; }
.tx-notify-tools {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.tx-notify-x {
  position: relative;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #737f8b;
  background: none;
  cursor: pointer;
  transition: 0.3s linear;
}
.tx-notify-art {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  min-height: 170px;
  pointer-events: none;
}
.tx-notify-art img { width: 200px; height: auto; display: block; }
.tx-notify-art .tx-bell-desk { display: none; }
.tx-notify-art .tx-bell-mob { display: block; }
.tx-notify-copy { padding-top: 120px; }
.tx-notify-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  line-height: 150%;
  color: #fff;
}
.tx-notify-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}
.tx-notify-form input {
  width: 100%;
  height: 48px;
  font-size: 16px;
  border-radius: 6px;
  padding: 12px 22px;
  margin-bottom: 6px;
  color: #fff;
  background: transparent;
  border: 1px solid #646e79;
}
.tx-notify-form input::placeholder { color: #fff; opacity: 0.6; }
.tx-notify-form input:focus { outline: 0; border-color: #7b7dfb; }
.tx-notify-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #191d21;
  background: #64f0bf;
  box-shadow: 0 4px 34px rgba(30, 35, 40, 0.63);
  cursor: pointer;
  transition: 0.3s linear;
}
.tx-notify-go:hover { background: #95fbd7; }
.tx-notify-never { margin-top: 16px; }
.tx-check-label {
  display: flex;
  column-gap: 6px;
  cursor: pointer;
  align-items: flex-start;
}
.tx-check {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 4px;
  border: 1px solid #abb6c1;
  cursor: pointer;
}
.tx-check input {
  appearance: none;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.tx-check svg {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.tx-check:has(input:checked) svg { display: block; }
.tx-check-label > span:last-child {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.tx-overdue {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin: 0 0 24px;
  border-radius: 6px;
  background: linear-gradient(90deg, #23272c 0%, #191d21 100%);
  color: #fff;
}
.tx-overdue-icon { width: 60px; height: 60px; flex-shrink: 0; }
.tx-overdue strong {
  display: block;
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 18px;
  font-weight: 600;
}
.tx-overdue p { margin: 0; color: #fff; font-size: 14px; line-height: 20px; }
.tx-overdue-actions { margin-left: auto; display: flex; gap: 10px; flex-shrink: 0; }
.btn-outline-mint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border: 2px solid var(--mint);
  border-radius: 4px;
  color: var(--mint);
  background: transparent;
  font-size: 16px;
  font-weight: 600;
}
.btn-outline-mint:hover { color: var(--mint-hover); border-color: var(--mint-hover); }
.tx-overdue-actions .btn-mint {
  width: 170px;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}

.tx-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}
.tx-amt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tx-amt-n { font-size: 20px; font-weight: 600; color: #7b7dfb; }
.tx-amt-t { color: #abb6c1; font-size: 20px; font-weight: 600; }
.tx-clip { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.tx-clip-tip {
  opacity: 0;
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  width: max-content;
  pointer-events: none;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 0;
  z-index: 8;
  border-radius: 8px;
  padding: 20px 16px;
  background: #0c0e10;
  transition: 0.3s linear;
}
.tx-icon-btn {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}
.tx-icon-btn svg path { transition: 0.3s linear; }
.tx-icon-btn:hover svg path { stroke: #64f0bf; }
.tx-note {
  margin: 0 0 22px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}
.tx-label {
  margin: 0;
  color: #abb6c1;
  font-size: 14px;
  font-weight: 500;
}

.tx-addr-row {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.tx-addr-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  border-radius: 4px;
  border: 1px solid #646e79;
  overflow: hidden;
}
.tx-addr-left {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 10px 0 16px;
  min-width: 0;
  flex: 1;
}
.tx-coin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-right: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 34px rgba(30, 35, 40, 0.63);
  background: linear-gradient(80.26deg, #3d4349 -9.48%, #373f48 119.79%);
}
.tx-coin img,
.tx-coin .coin-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.tx-coin img { position: absolute; }
.tx-addr-text {
  overflow: auto hidden;
  line-height: 260%;
  white-space: nowrap;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  min-width: 0;
}
.tx-addr-text::-webkit-scrollbar { height: 3px; }
.tx-addr-text::-webkit-scrollbar-thumb { border-radius: 3px; background: #4b5259; }
.tx-copy {
  position: relative;
  height: 64px;
  min-width: 118px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 0 3px 3px 0;
  font-size: 18px;
  font-weight: 500;
  color: #64f0bf;
  background: linear-gradient(80.26deg, #2a2f34 -9.48%, #1f2328 119.79%);
  cursor: pointer;
  transition: 0.3s linear;
}
.tx-copy svg { margin-top: 2px; min-width: 11.5px; }
.tx-copy svg path { stroke: #64f0bf; }
.tx-copy:hover { background: #95fbd7; color: #191d21; }
.tx-copy:hover svg path { stroke: #191d21; }
.tx-or {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin: 13px 0;
  text-align: center;
}
.tx-qr-wrap {
  position: relative;
  z-index: 9;
  display: none;
  justify-content: center;
}
.tx-qr {
  width: 100%;
  height: 66px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 600;
  color: #7b7dfb;
  background: transparent;
  border: 1px solid #7b7dfb;
  cursor: pointer;
  transition: 0.3s linear;
  white-space: nowrap;
  flex-shrink: 0;
}
.tx-qr svg { margin: 0 10px 0 0; }
.tx-qr svg path { transition: 0.3s linear; fill: #7b7dfb; }
.tx-qr:hover { color: #fff; background: #7b7dfb; }
.tx-qr:hover svg path { fill: #fff; }
.tx-qr-tip {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  right: 0;
  width: 151px;
  padding-bottom: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 30;
  transition: opacity 0.15s linear;
}
.tx-qr-tip-inner { padding: 0; }
.tx-qr-frame {
  border-radius: 4px;
  border: 2px solid #fff;
  overflow: hidden;
  background: #fff;
}
.tx-qr-pad { background: #fff; padding: 12.1212%; }
.tx-qr-pad img { display: block; width: 100%; height: auto; }
.tx-qr-mobile {
  padding: 23px 20px 20px;
  border-radius: 4px;
  border: 1px solid #7b7dfb;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #7b7dfb;
}
.tx-qr-mobile-head {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
}
.tx-qr-mobile-head svg { margin: 0 8px 0 0; }
.tx-qr-mobile-frame {
  width: 144px;
  margin-top: 20px;
  border: 2px solid #fff;
  background: #fff;
}
.tx-memo { margin: 12px 0 0; color: #abb6c1; font-size: 14px; }

.tx-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  color: #fff;
}
.tx-meta span { line-height: 200%; }
.tx-lock { display: inline-block; line-height: 0; }
.tx-lock svg path { fill: #abb6c1; }
.tx-rate {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  overflow-wrap: break-word;
}
.tx-rate-net { display: inline-block; color: #7b7dfb; }
.tx-id-label { font-size: 16px; font-weight: 500; color: #fff; }
.tx-id { font-size: 16px; font-weight: 500; color: #64f0bf !important; }

.tx-info-head {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0 16px;
  color: #fff;
}
.tx-partner {
  display: flex;
  width: fit-content;
  margin: 10px 20px 0 0;
  padding: 4px 8px 4px 4px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 40px;
  background: #3c444c;
}
.tx-partner-id { display: flex; align-items: center; gap: 6px; }
.tx-partner-logo {
  width: 28px;
  height: 28px;
  border-radius: 46.667px;
  overflow: hidden;
  background: #000;
}
.tx-partner strong {
  display: block;
  color: #abb6c1;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
}
.tx-partner-id span {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  height: 16px;
}

.tx-pair {
  border-radius: 4px;
  border: 1px solid rgba(115, 127, 139, 0.4);
}
.tx-box { overflow: hidden; }
.tx-box:first-child { padding: 16px 16px 0; }
.tx-box:last-child { padding: 0 16px 16px; }
.tx-box-lab { font-size: 14px; font-weight: 500; color: #abb6c1; }
.tx-box-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  margin: 8px 0;
  padding: 12px 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, #23272c 0%, #191d21 100%);
}
.tx-box-amt { display: flex; align-items: center; gap: 16px; }
.tx-box-n { font-size: 18px; font-weight: 600; color: #fff; }
.tx-box-sym {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.tx-box-t { font-size: 18px; font-weight: 600; color: #abb6c1; }
.tx-box-net { font-size: 12px; font-weight: 500; color: #7b7dfb; }
.tx-box-addr {
  display: flex;
  gap: 10px;
  overflow: hidden;
  color: #fff;
}
.tx-box-addr > svg { padding-top: 5.5px; flex-shrink: 0; }
.tx-box-addr-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  min-width: 0;
}
.tx-box-addr.is-open .tx-box-addr-text {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.tx-eye {
  align-self: flex-start;
  padding-top: 3px;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}
.tx-eye svg path { fill: #c0c0c7; transition: 0.3s linear; }
.tx-mid {
  height: 72px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tx-arrow, .tx-cross {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(115, 127, 139, 0.4);
  background: #272c31;
  transform: rotate(90deg);
}
.tx-card.is-overdue .tx-arrow { display: none; }
.tx-cross { display: none; }
.tx-card.is-overdue .tx-cross { display: flex; }
#timer-path {
  stroke-dasharray: 193.972;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

@media (min-width: 384px) {
  .tx-copy { width: 140px; }
}
@media (min-width: 768px) {
  .tx-top { padding-left: 30px; padding-right: 30px; }
  .tx-body { padding-left: 30px; padding-right: 30px; padding-bottom: 30px; }
  .tx-timer-inner span { font-size: 16px; }
  .tx-notify {
    padding: 24px;
    background: url("/assets/img/tx/notify-bg.webp") center / cover no-repeat;
  }
  .tx-notify-inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  .tx-notify-x:hover { opacity: 0.6; }
  .tx-notify-art {
    inset: auto -88px -63px auto;
    transform: none;
    min-height: 100%;
  }
  .tx-notify-art img { width: 190px; }
  .tx-notify-art .tx-bell-desk { display: block; }
  .tx-notify-art .tx-bell-mob { display: none; }
  .tx-notify-copy { padding-top: 0; width: 81%; }
  .tx-notify-title { font-size: 16px; text-align: start; white-space: nowrap; }
  .tx-notify-form { flex-direction: row; gap: 6px; margin-top: 13px; }
  .tx-notify-form input { width: calc(100% - 176px); margin-bottom: 0; }
  .tx-notify-go { width: 176px; }
  .tx-check-label > span:last-child { transition: 0.3s linear; }
  .tx-check-label:hover > span:last-child { color: #64f0bf; }
  .tx-title { font-size: 32px; }
  .tx-amt-n { font-size: 32px; }
  .tx-amt-t { font-size: 32px; }
  .tx-clip-tip { top: -56px; }
  .tx-clip:hover .tx-clip-tip { opacity: 1; }
  .tx-addr-row {
    display: grid;
    grid-template-columns: minmax(0, calc(100% - 216px)) 66px 150px;
    width: 100%;
  }
  .tx-addr-left { padding: 0 25px 0 16px; }
  .tx-or { margin: 0; align-self: center; }
  .tx-qr-wrap { display: flex; }
  .tx-qr { width: 150px; }
  .tx-qr-tip { top: auto; bottom: calc(100% + 8px); width: 181px; }
  .tx-qr-tip-inner {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(115, 127, 139, 0.4);
    background: linear-gradient(80.26deg, #2a2f34 -9.48%, #1f2328 119.79%);
  }
  .tx-qr-wrap:hover .tx-qr-tip,
  .tx-qr-wrap:focus-within .tx-qr-tip,
  .tx-qr-wrap.is-open .tx-qr-tip {
    opacity: 1;
    visibility: visible;
  }
  .tx-qr-mobile { display: none; }
  .tx-partner { margin-top: 0; gap: 6px; }
  .tx-eye:hover svg path { fill: #64f0bf; }
}
@media (min-width: 1024px) {
  .tx-top { padding-left: 24px; padding-right: 24px; }
  .tx-body { padding: 0 24px 24px; }
  .tx-notify-art { right: -14px; bottom: -80px; }
  .tx-notify-art img { width: 260px; }
  .tx-notify-form input { width: 380px; }
  .tx-notify-title { letter-spacing: 1px; }
  .tx-addr-row { width: 98.5%; }
  .tx-info-head { font-size: 20px; }
  .tx-pair { display: grid; grid-template-columns: 1fr 92px 1fr; }
  .tx-box:first-child { padding: 16px 0 16px 32px; }
  .tx-box:last-child { padding: 16px 32px 16px 0; }
  .tx-box-row { margin: 6px 0; }
  .tx-box-n, .tx-box-t { font-size: 20px; }
  .tx-mid { height: 100%; align-items: flex-start; }
  .tx-arrow, .tx-cross { margin-top: 45px; transform: none; }
}
@media (min-width: 1190px) {
  .tx-top { padding-left: 34px; padding-right: 34px; }
  .tx-body { padding: 0 34px 34px; }
  .tx-notify-art { right: 30px; bottom: -112px; }
  .tx-notify-art img { width: 360px; }
  .tx-addr-row { width: 78.5%; }
}

.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #7b7dfb;
  color: #fff;
  box-shadow: 0 8px 24px rgba(123, 125, 251, 0.35);
  cursor: pointer;
  z-index: 40;
  display: grid;
  place-items: center;
}
.chat-fab:hover { background: #8d8ffc; }

.qr-modal { width: min(320px, 100%); text-align: center; }
.qr-modal img { display: block; margin: 8px auto 12px; background: #fff; border-radius: 8px; }
.pay-address { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; text-align: center; word-break: break-all; }

.burger { display: none; background: none; border: 0; color: #fff; font-size: 22px; }

@media (max-width: 1100px) {
  .hero h1 { font-size: 36px; line-height: 48px; width: auto; }
  .menu, .social-rail, .tracker-tab, .chev { display: none; }
  .widget, .features, .stat-row, .review-grid, .best-grid, .footer-grid, .app-promo {
    grid-template-columns: minmax(0, 1fr);
  }
  .pane-left, .pane-right { border-radius: 6px; padding: 16px 14px 18px; min-width: 0; max-width: 100%; }
  .widget, .exchanger, .amt-box, .outline-box, .dest-box, .tx-card { max-width: 100%; }
  .amt-box { margin-top: 4px; }
  .widget { gap: 0; overflow: visible; }
  .mid-swap {
    display: grid;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 8px auto;
    z-index: 5;
  }
  .chip {
    height: auto;
    min-height: 38px;
    max-width: 100%;
    white-space: normal;
    line-height: 18px;
    padding: 8px 12px;
    text-align: left;
    align-self: stretch;
  }
  .chip span { min-width: 0; }
  .partner { display: none; }
  .step-badge { flex-wrap: wrap; gap: 8px; }
  .refresh { white-space: normal; }
  .widget-foot { flex-direction: column; align-items: stretch; margin-top: 16px; padding: 0 16px; gap: 12px; }
  .foot-actions { width: 100%; margin-top: 0; flex-wrap: wrap; }
  .swap-cta, .btn-back { width: 100%; min-width: 0; }
  .legal { max-width: none; line-height: 20px; }
  .rate-toggle { flex-wrap: wrap; gap: 8px 10px; font-size: 14px; max-width: 100%; }
  .rate-toggle button.link,
  .rate-toggle .or { font-size: 13px; line-height: 18px; white-space: normal; }
  .pane { min-height: 0; }
  .burger { display: block; margin-left: auto; }
  .auth { display: none; }
  .step2-row { flex-direction: column; align-items: stretch; }
  .promo-box { width: 100%; flex: 1; }
  .tx-overdue { flex-wrap: wrap; }
  .tx-overdue-actions { width: 100%; margin-left: 0; }
  .wrap,
  .exchanger,
  .page-order .tx-crumb,
  .page-exchange .tx-crumb {
    width: min(1276px, calc(100% - 24px));
  }
  .topbar-inner {
    width: min(1856px, calc(100% - 24px));
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }
  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .site-footer-bottom .copy { margin-left: 0; }
  .pair-cols { grid-template-columns: 1fr; }
  .addr-modal { margin: 0; width: min(448px, 100%); padding: 20px 16px 16px; }
  .overlay { padding: 12px; align-items: center; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .modal { max-height: min(80dvh, 640px); }
  #aml-overlay { align-items: center; }
  .chat-fab {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  body.is-exchange-flow .chat-fab,
  .page-exchange .chat-fab,
  .page-order .chat-fab,
  body.kb-open .chat-fab {
    display: none;
  }
  .tx-partner {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 24px));
    max-height: min(70dvh, 480px);
    overflow: auto;
    padding: 8px;
    flex-direction: column;
    gap: 0;
    background: #22272c;
    border: 1px solid #2f363d;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    z-index: 70;
  }
  .menu.is-open { display: flex; }
  .menu a {
    display: block;
    padding: 12px 10px;
    font-size: 15px;
    line-height: 20px;
    color: #fff;
    border-bottom: 1px solid #2a3036;
    opacity: 1;
  }
  .menu a:last-child { border-bottom: 0; }
  .topbar-inner { position: relative; }
}

@media (max-width: 767px) {
  .page-exchange .ex-page,
  .page-order .tx-page {
    padding: 16px 0 calc(88px + env(safe-area-inset-bottom, 0px));
    min-height: 0;
  }
  .tx-head {
    gap: 8px;
  }
  .tx-head-left {
    gap: 8px;
    min-width: 0;
  }
  .tx-step-wrap {
    gap: 6px;
    min-width: 0;
  }
  .tx-step-wrap .tx-step-name,
  .tx-step-wrap span {
    font-size: 13px;
  }
  .tx-notify {
    padding: 10px 12px 10px;
    margin-top: 10px;
  }
  .tx-notify-inner { position: relative; }
  .tx-notify-tools {
    position: absolute;
    top: 4px;
    right: 4px;
    width: auto;
    z-index: 4;
  }
  .tx-notify-x { width: 24px; height: 24px; }
  .tx-notify-art { display: none !important; }
  .tx-notify-copy { padding-top: 0; padding-right: 28px; }
  .tx-notify-title {
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
  }
  .tx-notify-form {
    flex-direction: row;
    align-items: stretch;
    gap: 6px;
    margin-top: 8px;
  }
  .tx-notify-form input {
    flex: 1;
    min-width: 0;
    height: 40px;
    margin-bottom: 0;
    padding: 8px 10px;
    font-size: 14px;
  }
  .tx-notify-go {
    width: auto;
    min-width: 84px;
    height: 40px;
    font-size: 13px;
    padding: 0 12px;
  }
  .tx-notify-never { margin-top: 8px; }
  .tx-check-label > span:last-child { font-size: 11px; line-height: 14px; }
  .tx-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 16px;
    line-height: 1.3;
    max-width: 100%;
  }
  .tx-amt {
    max-width: 100%;
    flex-wrap: wrap;
  }
  .tx-amt-n,
  .tx-amt-t {
    font-size: 18px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .tx-note { font-size: 14px; margin-bottom: 14px; }
  .tx-addr-pill {
    height: auto;
    min-height: 52px;
    align-items: stretch;
  }
  .tx-addr-left { padding: 8px 8px 8px 10px; }
  .tx-coin { width: 32px; height: 32px; margin-right: 8px; }
  .tx-addr-text {
    font-size: 12px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-all;
  }
  .tx-copy {
    min-width: 64px;
    width: 72px;
    height: auto;
    font-size: 13px;
  }
  .tx-or { font-size: 15px; margin: 10px 0; }
  .tx-qr-mobile { padding: 14px 12px; }
  .tx-qr-mobile-frame {
    width: min(168px, 52vw);
    margin-top: 12px;
  }
  .tx-box-row { height: auto; min-height: 56px; padding: 10px 12px; }
  .tx-box-n, .tx-box-t { font-size: 16px; overflow-wrap: anywhere; }
  .tx-clip-tip { display: none; }
  .hero h1 { font-size: 28px; line-height: 36px; padding: 0 12px; }
  .field-meta input,
  .to-value { font-size: 18px; }
  .amt-row { height: 58px; }
  .coin-btn {
    width: 122px;
    flex-basis: 122px;
    padding: 0 8px 0 8px;
    gap: 6px;
  }
  .coin-icon-wrap { width: 32px; height: 32px; }
  .coin-btn .coin-txt strong { font-size: 14px; }
  .coin-btn .coin-txt small { font-size: 10px; }
  .field { padding: 12px 10px; }
  .pane-top { min-height: 0; }
  .refresh { font-size: 12px; gap: 6px; flex-wrap: wrap; justify-content: flex-end; white-space: normal; }
  .refresh-ring { width: 24px; height: 24px; }
  .rate-toggle { margin-top: 12px; }
  .feat h3 { flex-wrap: wrap; }
  .tag { margin-left: 0; }
  .outline-box input {
    font-size: 13px;
    padding-left: 12px;
  }
  .paste-btn {
    width: auto;
    min-width: 52px;
    padding: 0 8px;
    margin-right: 8px;
    font-size: 11px;
  }
  .legal { overflow-wrap: anywhere; }
}

@media (hover: none) {
  .tx-clip-tip { display: none; }
}
