@font-face {
  font-family: 'DizhiChaLogo';
  src: url('/static/dizhicha_logo.woff2') format('woff2');
  font-display: swap;
}
:root {
  --bg: #f3f1ea;
  --ink: #17211f;
  --muted: #5e6a66;
  --panel: #fffdf7;
  --line: #ded6c8;
  --accent: #0d775f;
  --accent-2: #d58936;
  --danger: #9a3d33;
  --warning: #8f5f00;
  --shadow: 0 18px 50px rgba(27, 37, 34, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(circle at top right, rgba(213,137,54,0.12), transparent 24%), radial-gradient(circle at left 20%, rgba(13,119,95,0.12), transparent 26%), var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}
.home-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(151, 223, 214, 0.36), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(255, 220, 182, 0.30), transparent 20%),
    radial-gradient(circle at 78% 76%, rgba(181, 210, 255, 0.30), transparent 24%),
    linear-gradient(180deg, #f4fff9 0%, #f9fffd 34%, #f8fbff 100%);
}
.home-page .site-header {
  background: rgba(244, 255, 249, 0.74);
  border-bottom: 1px solid rgba(195, 225, 216, 0.7);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(243, 241, 234, 0.82); border-bottom: 1px solid rgba(222, 214, 200, 0.9); }
.nav-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 18px; color: var(--muted); }
.nav-links a:hover { color: var(--accent); }
.hero { padding: 72px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 28px; align-items: stretch; }
.eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-size: 0.86rem; font-weight: 700; }
h1, h2 { margin: 0; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 10ch; }
h2 { font-size: 1.15rem; }
.lead { color: var(--muted); font-size: 1.04rem; max-width: 60ch; margin: 18px 0 0; }
.compact { margin-top: 8px; }
.hero-card, .panel, .metric-card, .search-panel { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-card { border-radius: 28px; padding: 28px; align-self: end; }
.mini-label { color: var(--accent-2); font-weight: 700; margin-bottom: 14px; }
.feature-list { margin: 0; padding-left: 18px; display: grid; gap: 12px; }
.search-panel { margin-top: 28px; border-radius: 24px; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.search-panel input, .inline-search input, .quote-form input { width: 100%; min-height: 52px; border-radius: 16px; border: 1px solid var(--line); background: #ffffff; padding: 0 16px; font-size: 1rem; outline: none; }
button { min-height: 52px; border: 0; border-radius: 16px; padding: 0 20px; background: linear-gradient(135deg, var(--accent), #0f5b7c); color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
button:hover { filter: brightness(1.04); }
.site-footer { padding: 32px 0 40px; color: var(--muted); }
.footer-text { text-align: center; }
.page-shell { padding: 36px 0 56px; display: grid; gap: 20px; }
.narrow-shell { max-width: 860px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.inline-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; min-width: min(460px, 100%); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric-card { border-radius: 22px; padding: 18px; display: grid; gap: 8px; }
.metric-label, .token-meta, .empty-state, .sr-only, .muted { color: var(--muted); }
.metric-card strong, .quote-result strong { font-size: 1.2rem; }
.metric-card small { color: var(--muted); }
.content-grid { display: grid; gap: 18px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { border-radius: 24px; padding: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.token-list, .stack-list { display: grid; gap: 12px; }
.token-row, .stack-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(222, 214, 200, 0.7); }
.token-row:first-child, .stack-row:first-child { border-top: 0; padding-top: 0; }
.stack-row-block { align-items: start; flex-direction: column; }
.token-title { font-weight: 700; }
.align-right { text-align: right; }
.keys-list { display: flex; flex-wrap: wrap; gap: 8px; }
.key-pill, .tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 0.88rem; font-weight: 700; }
.key-pill { background: rgba(13, 119, 95, 0.08); color: var(--accent); }
.permission-row { width: 100%; }
.permission-keys-list {
  width: 100%;
  flex-direction: column;
  gap: 6px;
}
.permission-key {
  width: 100%;
  display: block;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(13, 119, 95, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: Consolas, Monaco, monospace;
  line-height: 1.45;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-top: 1px solid rgba(222, 214, 200, 0.75); white-space: nowrap; }
th { color: var(--muted); font-weight: 700; font-size: 0.92rem; }
.tag-in { background: rgba(13, 119, 95, 0.12); color: var(--accent); }
.tag-out { background: rgba(154, 61, 51, 0.12); color: var(--danger); }
.alert { border-radius: 18px; padding: 14px 16px; border: 1px solid; }
.alert + .alert { margin-top: -8px; }
.alert-error { background: rgba(154, 61, 51, 0.08); border-color: rgba(154, 61, 51, 0.25); color: var(--danger); }
.alert-warning { background: rgba(143, 95, 0, 0.08); border-color: rgba(143, 95, 0, 0.24); color: var(--warning); }
.quote-form { display: grid; gap: 10px; }
.quote-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.quote-result { margin-top: 18px; display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.address-box { margin-top: 12px; padding: 18px; border-radius: 20px; background: #f9f6ef; border: 1px dashed var(--line); font-family: Consolas, Monaco, monospace; word-break: break-all; }
.empty-state { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 0 72px;
}
.home-center-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}
.home-copy {
  display: grid;
  gap: 12px;
  justify-items: center;
}
.home-title {
  max-width: 11ch;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  letter-spacing: -0.04em;
}
.home-subtitle {
  max-width: 52rem;
  margin: 0;
  color: #4f6761;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
}
.home-search-shell {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(185, 220, 208, 0.85);
  box-shadow: 0 24px 60px rgba(44, 82, 73, 0.14);
  backdrop-filter: blur(10px);
}
.home-search-shell input {
  min-height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(196, 222, 214, 0.95);
  background: rgba(255, 255, 255, 0.92);
  padding: 0 22px;
  font-size: 1.02rem;
  outline: none;
}
.home-search-shell input:focus {
  border-color: rgba(62, 144, 122, 0.8);
  box-shadow: 0 0 0 4px rgba(102, 191, 167, 0.14);
}
.home-search-shell button {
  min-width: 150px;
  min-height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #36a383, #3c73ad);
  box-shadow: 0 14px 30px rgba(52, 120, 144, 0.24);
}
.home-feature-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-feature-card {
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 225, 219, 0.9);
  box-shadow: 0 18px 44px rgba(62, 91, 84, 0.08);
  text-align: left;
}
.home-feature-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.home-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.home-feature-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #2f8b72;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-alert-wrap {
  width: min(860px, 100%);
}
.home-orb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0.72;
}
.home-orb-left {
  left: 25%;
  width: min(32vw, 430px);
  height: min(32vw, 430px);
  background: radial-gradient(circle at 50% 50%, rgba(101, 174, 210, 0.34), rgba(101, 174, 210, 0.08) 72%, transparent 74%);
}
.home-orb-mid {
  left: 50%;
  width: min(35vw, 470px);
  height: min(35vw, 470px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, rgba(108, 207, 186, 0.28), rgba(108, 207, 186, 0.08) 72%, transparent 74%);
}
.home-orb-right {
  right: 25%;
  width: min(32vw, 430px);
  height: min(32vw, 430px);
  background: radial-gradient(circle at 50% 50%, rgba(148, 160, 255, 0.26), rgba(148, 160, 255, 0.08) 72%, transparent 74%);
}
.home-footer {
  padding-top: 8px;
}
@media (max-width: 920px) {
  .hero-grid, .two-col, .metrics-grid, .quote-result, .page-heading, .inline-search, .quote-row, .home-feature-row { grid-template-columns: 1fr; }
  .page-heading, .nav-row, .token-row, .stack-row { align-items: start; flex-direction: column; }
  .search-panel, .home-search-shell { grid-template-columns: 1fr; }
  .align-right { text-align: left; }
  .home-hero {
    min-height: auto;
    padding: 34px 0 48px;
  }
  .home-title {
    max-width: 8ch;
  }
  .home-search-shell button {
    width: 100%;
  }
  .home-orb-left {
    left: -10%;
  }
  .home-orb-right {
    right: -10%;
  }
}
.address-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(160, 222, 213, 0.18), transparent 22%),
    linear-gradient(180deg, #f8fbfb 0%, #f7faf8 100%);
}
.address-shell {
  padding: 30px 0 56px;
  display: grid;
  gap: 18px;
}
.address-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.address-hero-copy {
  display: grid;
  gap: 8px;
}
.address-title {
  max-width: 100%;
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  letter-spacing: -0.04em;
  word-break: break-all;
}
.address-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}
.address-meta-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.address-search {
  min-width: min(420px, 100%);
}
.address-primary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
}
.address-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.panel-head-tight {
  margin-bottom: 12px;
}
.overview-panel {
  padding: 24px;
}
.overview-main-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(222, 214, 200, 0.75);
}
.overview-label {
  color: var(--muted);
  font-size: 0.92rem;
}
.overview-amount {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}
.overview-sub {
  margin-top: 8px;
  color: #4d6761;
}
.overview-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}
.overview-chip {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(57, 136, 114, 0.08);
  color: #2e7763;
  font-weight: 700;
  white-space: nowrap;
}
.overview-metrics-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.overview-metric {
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(248, 251, 248, 0.95);
  border: 1px solid rgba(224, 232, 225, 0.9);
  display: grid;
  gap: 6px;
}
.overview-metric span,
.overview-metric small {
  color: var(--muted);
}
.overview-metric strong {
  font-size: 1.24rem;
}
.asset-panel,
.compact-panel {
  padding: 22px;
}
.asset-scroll-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}
.asset-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(222, 214, 200, 0.7);
}
.asset-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.asset-amount {
  font-weight: 700;
}
.compact-list {
  max-height: 310px;
  overflow: auto;
  padding-right: 4px;
}
.transfer-panel {
  padding: 22px;
}
.transfer-head {
  align-items: end;
}
.transfer-table-wrap {
  margin-top: 8px;
}
.transfer-amount-cell {
  font-weight: 700;
}
@media (max-width: 1080px) {
  .address-primary-grid,
  .address-secondary-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 920px) {
  .address-hero,
  .overview-main-row {
    align-items: start;
    flex-direction: column;
  }
  .address-search {
    min-width: 100%;
  }
  .overview-chip-wrap {
    justify-content: start;
  }
  .overview-metrics-grid {
    grid-template-columns: 1fr;
  }
}
.brand-logo-font {
  font-family: "DizhiChaLogo", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.brand-rich {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.brand-word {
  font-size: 1.65rem;
  letter-spacing: 0.02em;
}
.brand-version {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}
.address-page {
  background:
    radial-gradient(circle at 14% 16%, rgba(149, 225, 209, 0.16), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(100, 159, 255, 0.10), transparent 22%),
    linear-gradient(180deg, #f4f7fb 0%, #f6f8fb 100%);
}
.address-site-header {
  background: transparent;
  border-bottom: 0;
}
.address-site-header-fill {
  width: 100%;
  background: rgba(39, 41, 45, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.address-nav-row {
  min-height: 76px;
  gap: 20px;
}
.address-site-header .brand,
.address-site-header .nav-links a,
.address-site-header .nav-links {
  color: #ffffff;
}
.address-nav-row > .nav-links,
.address-nav-row > .header-music-player,
.address-nav-row > .header-search {
  margin-left: auto;
}
.nav-links-light {
  align-items: center;
}
.nav-inline-icon {
  width: 18px;
  height: 18px;
}
.nav-links-light a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.84);
}
.nav-links-light a:hover {
  color: #ffffff;
}
.header-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  min-width: min(460px, 100%);
  margin-left: auto;
}
.header-search input {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 18px;
  outline: none;
}
.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.header-search button {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  box-shadow: none;
}
.address-shell {
  padding: 24px 0 56px;
  gap: 20px;
}
.address-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 260px);
  gap: 24px;
  padding: 24px;
  align-items: stretch;
}
.address-hero-main {
  display: grid;
  gap: 18px;
}
.address-hero-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wallet-hero-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.address-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.meta-chip {
  display: inline-grid;
  gap: 4px;
  min-width: 180px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #f7fafc;
  border: 1px solid rgba(224, 229, 237, 0.95);
}
.meta-chip span {
  color: var(--muted);
  font-size: 0.82rem;
}
.meta-chip strong {
  font-size: 0.96rem;
}
.address-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(38, 49, 61, 0.12);
  background: #fff;
  color: #1f2b2c;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: none;
}
.ghost-action:hover {
  color: var(--accent);
  border-color: rgba(13, 119, 95, 0.25);
}
.ghost-action img {
  width: 18px;
  height: 18px;
}
.is-copied {
  color: #fff;
  background: linear-gradient(135deg, #2f8b72, #4078b6);
  border-color: transparent;
}
.qr-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid rgba(224, 229, 237, 0.95);
}
.qr-card-head {
  display: grid;
  gap: 4px;
  width: 100%;
  text-align: center;
}
.qr-card-head span {
  color: var(--muted);
  font-size: 0.88rem;
}
.qr-image {
  width: 196px;
  height: 196px;
  border-radius: 20px;
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(224, 229, 237, 0.95);
}
.overview-table {
  margin-top: 18px;
  display: grid;
}
.overview-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(222, 214, 200, 0.75);
}
.overview-table-key {
  color: #101010;
  font-size: 0.95rem;
}
.overview-table-value {
  text-align: right;
  color: #101010;
}
.overview-table-value-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.transfer-split {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.transfer-split img {
  width: 18px;
  height: 18px;
}
.transfer-summary-split {
  gap: 10px;
}
.transfer-summary-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}
.transfer-summary-label.stat-positive {
  background: rgba(46, 173, 101, 0.12);
}
.transfer-summary-label.stat-negative {
  background: rgba(235, 71, 71, 0.12);
}
.inline-action-link {
  margin-left: 8px;
  color: #386ec8;
  font-weight: 700;
}
.asset-row-rich {
  align-items: flex-start;
}
.asset-token-main,
.approval-main,
.transfer-token-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.token-logo {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
  background: #f5f8fb;
  border: 1px solid rgba(225, 232, 240, 0.95);
  flex: 0 0 auto;
}
.token-logo-sm {
  width: 22px;
  height: 22px;
}
.token-logo-xs {
  width: 18px;
  height: 18px;
}
.token-title-rich {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.token-title-rich a:hover,
.table-wrap a:hover,
.approval-row a:hover {
  color: var(--accent);
}
.token-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 39, 46, 0.08);
  color: #39414a;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.token-id-line {
  word-break: break-all;
}
.approval-row,
.project-row {
  align-items: center;
}
.transfer-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 16px;
}
.transfer-stat-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(224, 229, 237, 0.95);
}
.transfer-stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
}
.transfer-stat-card strong {
  font-size: 1.24rem;
}
.transfer-token-cell {
  min-width: 180px;
}
.stat-positive {
  color: #2ead65;
}
.stat-negative {
  color: #eb4747;
}
.transfer-amount-cell.stat-positive,
.transfer-amount-cell.stat-negative {
  font-weight: 800;
}
.transfer-filter-form {
  margin: 10px 0 18px;
}
.transfer-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.transfer-filter-field {
  display: grid;
  gap: 6px;
}
.transfer-filter-field span {
  color: var(--muted);
  font-size: 0.84rem;
}
.transfer-filter-field input,
.transfer-filter-field select {
  min-height: 44px;
  width: 100%;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(201, 210, 223, 0.95);
  background: #ffffff;
  color: #172130;
  outline: none;
}
.transfer-filter-field input:focus,
.transfer-filter-field select:focus {
  border-color: rgba(63, 130, 201, 0.72);
  box-shadow: 0 0 0 4px rgba(99, 161, 227, 0.16);
}
.transfer-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.transfer-filter-actions .ghost-action,
.transfer-filter-actions button {
  min-height: 44px;
}
.filter-reset-link {
  min-width: 92px;
}
.transfer-stat-card small {
  color: var(--muted);
  font-size: 0.82rem;
}
.transfer-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(197, 206, 220, 0.95);
  background: #ffffff;
  color: #172130;
  font-weight: 700;
}
.page-link:hover {
  color: var(--accent);
  border-color: rgba(13, 119, 95, 0.35);
}
.page-link-active {
  background: linear-gradient(135deg, #2f8b72, #4078b6);
  border-color: transparent;
  color: #ffffff;
}
.page-link-disabled,
.page-link-ellipsis {
  color: var(--muted);
  background: #f8fafc;
}
.page-link-disabled {
  opacity: 0.7;
}
@media (max-width: 1180px) {
  .address-nav-row {
    display: grid;
    grid-template-columns: 1fr;
    padding: 14px 0;
  }
  .header-search {
    margin-left: 0;
  }
}
@media (max-width: 1080px) {
  .address-hero-panel,
  .address-primary-grid,
  .address-secondary-grid,
  .transfer-stats-bar {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 920px) {
  .address-hero-heading,
  .address-action-row,
  .overview-table-row,
  .overview-table-value-icons {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand-word {
    font-size: 1.4rem;
  }
  .nav-links-light {
    flex-wrap: wrap;
  }
  .header-search {
    grid-template-columns: 1fr;
    min-width: 100%;
  }
  .qr-image {
    width: min(196px, 100%);
    height: auto;
  }
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
input,
button {
  font: inherit;
}
.table-wrap {
  -webkit-overflow-scrolling: touch;
}
.transfer-table-wrap table {
  min-width: 860px;
}
@media (max-width: 1024px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }
  .nav-row {
    min-height: auto;
  }
  .address-nav-row {
    gap: 14px;
  }
  .nav-links-light {
    width: 100%;
    justify-content: flex-start;
  }
  .address-hero-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .qr-card {
    justify-items: start;
  }
  .qr-card-head {
    text-align: left;
  }
  .address-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .transfer-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote-result {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .container {
    width: min(100%, calc(100% - 20px));
  }
  .site-header {
    position: static;
    backdrop-filter: none;
  }
  .nav-row,
  .address-nav-row,
  .page-heading,
  .address-hero-heading,
  .overview-main-row,
  .overview-table-row,
  .overview-table-value-icons,
  .approval-row,
  .project-row,
  .stack-row,
  .asset-row,
  .token-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand-rich {
    width: 100%;
  }
  .address-site-header {
    display: block;
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    overflow-x: clip;
  }
  .address-site-header-fill {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    overflow-x: clip;
    box-sizing: border-box;
  }
  .address-site-header .container.address-nav-row {
    width: 100% !important;
    max-width: none;
    margin: 0;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
    padding-bottom: 12px;
    padding-left: max(10px, env(safe-area-inset-left, 0px));
  }
  .address-nav-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    box-sizing: border-box;
  }
  .address-nav-row > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0 !important;
  }
  .address-nav-row .brand-rich {
    justify-content: flex-start;
  }
  .nav-links,
  .nav-links-light {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }
  .address-nav-row .nav-links a,
  .address-nav-row .nav-links-light a {
    margin-left: 0;
  }
  .address-nav-row .header-music-player,
  .address-nav-row .header-search {
    width: 100%;
    min-width: 0;
  }
  .header-search,
  .home-search-shell,
  .search-panel,
  .inline-search,
  .quote-row,
  .quote-result,
  .home-feature-row,
  .metrics-grid,
  .two-col,
  .address-primary-grid,
  .address-secondary-grid,
  .transfer-stats-bar,
  .overview-metrics-grid {
    grid-template-columns: 1fr;
  }
  .header-search,
  .address-search {
    min-width: 100%;
  }
  .home-hero {
    padding: 28px 0 42px;
    min-height: auto;
  }
  .home-center-wrap {
    gap: 18px;
  }
  .home-title {
    max-width: 100%;
    font-size: clamp(2.1rem, 10vw, 3.3rem);
  }
  .home-subtitle,
  .lead {
    font-size: 0.96rem;
  }
  .panel,
  .hero-card,
  .metric-card,
  .search-panel,
  .address-hero-panel,
  .overview-panel,
  .asset-panel,
  .compact-panel,
  .transfer-panel {
    padding: 18px;
    border-radius: 20px;
  }
  .address-shell {
    padding: 18px 0 40px;
  }
  .address-title {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }
  .meta-chip {
    min-width: 0;
    width: 100%;
  }
  .address-action-row {
    width: 100%;
  }
  .address-action-row > * {
    width: 100%;
  }
  .ghost-action,
  .home-search-shell button,
  .header-search button,
  button {
    width: 100%;
  }
  .qr-card {
    justify-items: center;
  }
  .qr-card-head {
    text-align: center;
  }
  .qr-image {
    width: min(196px, 72vw);
    height: auto;
  }
  .overview-amount {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }
  .overview-chip-wrap {
    width: 100%;
    justify-content: flex-start;
  }
  .overview-table-value,
  .align-right {
    text-align: left;
  }
  .asset-scroll-list,
  .compact-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .asset-token-main,
  .approval-main,
  .transfer-token-cell {
    width: 100%;
  }
  .token-id-line {
    font-size: 0.82rem;
  }
  .transfer-head {
    align-items: flex-start;
  }
  th,
  td {
    padding: 10px 8px;
    font-size: 0.9rem;
  }
  .address-box {
    font-size: 0.92rem;
    padding: 14px;
  }
}
@media (max-width: 540px) {
  .brand-word {
    font-size: 1.18rem;
  }
  .brand-version {
    font-size: 0.72rem;
    padding: 3px 7px;
  }
  .wallet-hero-icon {
    width: 44px;
    height: 44px;
  }
  .eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.1em;
  }
  .token-title-rich {
    align-items: flex-start;
  }
  .token-type-pill {
    font-size: 0.72rem;
  }
  .transfer-table-wrap table {
    min-width: 720px;
  }
  .transfer-stat-card strong,
  .metric-card strong,
  .quote-result strong {
    font-size: 1.08rem;
  }
  .home-feature-card,
  .transfer-stat-card,
  .overview-metric {
    padding: 14px;
  }
}
@media (max-width: 768px) {
  .header-music-player {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .transfer-filter-actions {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
  }
  .transfer-pagination {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .page-link {
    flex: 0 0 auto;
  }
}
@media (max-width: 520px) {
  .transfer-filter-grid {
    grid-template-columns: 1fr;
  }
}
/* address page density tune */
.address-page {
  font-size: 15px;
}
.address-page .container {
  width: min(1110px, calc(100% - 28px));
}
.address-page .panel {
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(34, 46, 58, 0.08);
}
.address-page .panel-head {
  margin-bottom: 12px;
}
.address-page h2 {
  font-size: 1.04rem;
}
.address-site-header {
  backdrop-filter: none;
}
.address-nav-row {
  min-height: 62px;
  gap: 16px;
}
.brand-rich {
  gap: 8px;
}
.brand-icon {
  width: 30px;
  height: 30px;
}
.brand-word {
  font-size: 1.48rem;
}
.brand-version {
  padding: 3px 7px;
  font-size: 0.74rem;
}
.nav-links {
  gap: 16px;
}
.nav-links-light a {
  gap: 6px;
  font-size: 0.95rem;
}
.header-search {
  min-width: min(430px, 100%);
  gap: 8px;
  margin-left: 0;
}
.header-search input,
.header-search button {
  min-height: 40px;
}
.header-search input {
  padding: 0 14px;
  font-size: 0.94rem;
}
.header-search button {
  padding: 0 16px;
  border-radius: 14px;
  font-size: 0.94rem;
}
.header-music-player {
  flex: 0 0 256px;
  min-width: 256px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  margin-left: auto;
}
.header-music-player audio {
  display: none;
}
.header-music-player.is-loading {
  box-shadow: 0 0 0 1px rgba(145, 214, 209, 0.18), 0 8px 18px rgba(51, 116, 115, 0.18);
}
.header-music-player.is-playing {
  border-color: rgba(139, 220, 201, 0.36);
  background: linear-gradient(135deg, rgba(89, 172, 154, 0.24), rgba(80, 125, 191, 0.18));
}
.music-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.music-nav,
.music-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
}
.music-nav {
  width: 28px;
  min-width: 28px;
  min-height: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  font-weight: 700;
}
.music-nav:hover {
  filter: none;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(77, 121, 176, 0.18);
}
.music-toggle {
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #41a38a, #4179b8);
}
.music-toggle:hover {
  filter: none;
  box-shadow: 0 6px 16px rgba(65, 121, 184, 0.26);
}
.music-bars {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 12px;
}
.music-bars i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transform-origin: center bottom;
}
.music-bars i:nth-child(1) {
  height: 7px;
}
.music-bars i:nth-child(2) {
  height: 12px;
}
.music-bars i:nth-child(3) {
  height: 9px;
}
.header-music-player.is-playing .music-bars i:nth-child(1) {
  animation: musicBar 0.95s ease-in-out infinite;
}
.header-music-player.is-playing .music-bars i:nth-child(2) {
  animation: musicBar 1.05s ease-in-out infinite 0.12s;
}
.header-music-player.is-playing .music-bars i:nth-child(3) {
  animation: musicBar 0.9s ease-in-out infinite 0.24s;
}
.music-meta {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 1px;
}
.music-title {
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music-status {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-music-player.is-playing .music-status {
  color: rgba(225, 255, 246, 0.88);
}
@keyframes musicBar {
  0%, 100% {
    transform: scaleY(0.58);
    opacity: 0.72;
  }
  50% {
    transform: scaleY(1.18);
    opacity: 1;
  }
}
.address-shell {
  padding: 16px 0 36px;
  gap: 14px;
}
.address-hero-panel {
  grid-template-columns: minmax(0, 1.32fr) 236px;
  gap: 18px;
  padding: 18px 20px;
}
.address-hero-main {
  gap: 14px;
}
.address-hero-heading {
  gap: 12px;
  align-items: flex-start;
}
.wallet-hero-icon {
  width: 42px;
  height: 42px;
}
.eyebrow {
  margin-bottom: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
.address-title {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.address-meta-strip {
  gap: 10px;
}
.meta-chip {
  min-width: 156px;
  padding: 10px 12px;
  border-radius: 14px;
}
.meta-chip span {
  font-size: 0.76rem;
}
.meta-chip strong {
  font-size: 0.92rem;
}
.address-action-row {
  gap: 10px;
}
.ghost-action {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 600;
}
.qr-card {
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
}
.qr-card-head strong {
  font-size: 1rem;
}
.qr-card-head span {
  font-size: 0.82rem;
}
.qr-image {
  width: 164px;
  height: 164px;
  padding: 8px;
  border-radius: 16px;
}
.address-primary-grid {
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.96fr);
}
.address-secondary-grid {
  gap: 14px;
}
.overview-panel,
.asset-panel,
.compact-panel,
.transfer-panel {
  padding: 18px;
}
.overview-main-row {
  gap: 12px;
  padding-bottom: 14px;
}
.overview-label {
  font-size: 0.84rem;
}
.overview-amount {
  margin-top: 4px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}
.overview-sub {
  margin-top: 4px;
  font-size: 0.92rem;
}
.overview-chip-wrap {
  gap: 8px;
}
.overview-chip {
  padding: 6px 10px;
  font-size: 0.88rem;
}
.overview-table {
  margin-top: 12px;
}
.overview-table-row {
  padding: 11px 0;
}
.overview-table-key,
.overview-table-value {
  font-size: 0.92rem;
}
.asset-scroll-list {
  gap: 6px;
  max-height: 302px;
}
.asset-row {
  gap: 10px;
  padding: 10px 0;
}
.asset-amount {
  font-size: 1rem;
}
.compact-list {
  max-height: 260px;
}
.address-secondary-grid .stack-row {
  padding: 10px 0;
}
.token-logo {
  width: 22px;
  height: 22px;
}
.token-logo-sm {
  width: 18px;
  height: 18px;
}
.token-logo-xs {
  width: 16px;
  height: 16px;
}
.token-title-rich {
  gap: 4px;
}
.token-title-rich a,
.approval-row strong,
.stack-row strong {
  font-size: 0.98rem;
}
.token-id-line,
.token-meta {
  font-size: 0.84rem;
  line-height: 1.35;
}
.token-type-pill {
  padding: 2px 7px;
  font-size: 0.72rem;
}
.panel-head-tight {
  margin-bottom: 10px;
}
.transfer-head {
  align-items: flex-start;
}
.transfer-head > div {
  display: grid;
  gap: 2px;
}
.transfer-head > span {
  color: var(--muted);
  font-size: 0.88rem;
}
.transfer-filter-form {
  margin: 6px 0 12px;
}
.transfer-filter-grid {
  grid-template-columns: 1.1fr 1.1fr 0.95fr 0.95fr 0.68fr 0.82fr auto;
  gap: 8px;
}
.transfer-filter-field {
  gap: 4px;
}
.transfer-filter-field span {
  font-size: 0.76rem;
}
.transfer-filter-field input,
.transfer-filter-field select {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.transfer-filter-actions {
  gap: 8px;
}
.transfer-filter-actions .ghost-action,
.transfer-filter-actions button {
  min-height: 38px;
}
.filter-reset-link {
  min-width: 72px;
}
.transfer-stats-bar {
  gap: 8px;
  margin: 0 0 12px;
}
.transfer-stat-card {
  gap: 3px;
  padding: 10px 12px;
  border-radius: 14px;
}
.transfer-stat-card span {
  font-size: 0.78rem;
}
.transfer-stat-card strong {
  font-size: 1.02rem;
}
.transfer-stat-card small {
  font-size: 0.76rem;
}
.transfer-table-wrap {
  margin-top: 0;
}
.transfer-table-wrap table {
  min-width: 820px;
}
.transfer-table-wrap th,
.transfer-table-wrap td {
  padding: 10px 8px;
  font-size: 0.88rem;
}
.transfer-table-wrap th {
  font-size: 0.82rem;
}
.transfer-token-cell {
  min-width: 160px;
  gap: 8px;
}
.tag {
  padding: 3px 8px;
  font-size: 0.74rem;
}
.transfer-pagination {
  gap: 8px;
  margin-top: 12px;
}
.page-link {
  min-width: 34px;
  min-height: 34px;
  padding: 0 11px;
  font-size: 0.88rem;
}
@media (max-width: 1180px) {
  .header-music-player {
    min-width: min(240px, 100%);
  }
  .address-page .transfer-filter-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .address-page .transfer-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}
@media (max-width: 920px) {
  .address-page .address-shell {
    padding: 14px 0 28px;
  }
  .address-page .address-hero-panel,
  .address-page .overview-panel,
  .address-page .asset-panel,
  .address-page .compact-panel,
  .address-page .transfer-panel {
    padding: 16px;
  }
  .address-page .address-title {
    font-size: clamp(1.7rem, 8vw, 2.45rem);
  }
  .address-page .transfer-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .address-page .container {
    width: min(100%, calc(100% - 16px));
  }
  .address-page .brand-word {
    font-size: 1.24rem;
  }
  .header-music-player {
    width: 100%;
    min-width: 0;
  }
  .address-page .brand-version {
    font-size: 0.68rem;
  }
  .address-page .meta-chip {
    min-width: 0;
    width: 100%;
  }
}
/* address panel distribution */
.address-page .address-primary-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr) minmax(250px, 0.72fr);
  align-items: start;
}
.address-page .address-side-rail {
  display: grid;
  gap: 14px;
  align-content: start;
}
.address-page .address-side-rail .compact-panel {
  padding: 16px;
}
.address-page .address-side-rail .compact-list {
  max-height: 156px;
}
.address-page .address-side-rail .stack-row {
  padding: 9px 0;
}
.address-page .asset-panel {
  min-height: 100%;
}
.address-page .asset-panel .asset-scroll-list {
  max-height: 470px;
}
.address-page .overview-panel {
  min-height: 100%;
}
@media (max-width: 1180px) {
  .address-page .address-primary-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  }
  .address-page .address-side-rail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .address-page .address-side-rail .compact-list {
    max-height: 190px;
  }
}
@media (max-width: 920px) {
  .address-page .address-primary-grid,
  .address-page .address-side-rail {
    grid-template-columns: 1fr;
  }
}
/* address equal columns and compact hero */
.address-page .container {
  width: min(1180px, calc(100% - 24px));
}
.address-page .address-hero-panel {
  grid-template-columns: minmax(0, 1fr) 214px;
  gap: 14px;
  padding: 16px 18px;
}
.address-page .address-hero-main {
  min-width: 0;
}
.address-page .address-title {
  max-width: none;
  font-size: clamp(1.58rem, 2.55vw, 2.38rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.address-page .qr-card {
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
}
.address-page .qr-card-head strong {
  font-size: 0.96rem;
}
.address-page .qr-card-head span {
  font-size: 0.8rem;
}
.address-page .qr-image {
  width: 142px;
  height: 142px;
  padding: 7px;
  border-radius: 14px;
}
.address-page .address-primary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.address-page .overview-panel,
.address-page .asset-panel,
.address-page .address-side-rail {
  min-height: 100%;
}
.address-page .address-side-rail {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: stretch;
  height: 100%;
}
.address-page .address-side-rail .compact-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.address-page .address-side-rail .panel-head {
  margin-bottom: 10px;
}
.address-page .address-side-rail .compact-list,
.address-page .address-side-rail .stack-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
}
.address-page .address-side-rail .empty-state {
  margin-top: 2px;
}
.address-page .asset-panel .asset-scroll-list {
  max-height: none;
  height: calc(100% - 32px);
}
@media (max-width: 1260px) {
  .address-page .container {
    width: min(100%, calc(100% - 20px));
  }
  .address-page .address-title {
    font-size: clamp(1.46rem, 2.3vw, 2.16rem);
  }
  .address-page .address-hero-panel {
    grid-template-columns: minmax(0, 1fr) 198px;
  }
  .address-page .qr-image {
    width: 132px;
    height: 132px;
  }
}
@media (max-width: 1180px) {
  .address-page .address-primary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .address-page .address-side-rail {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
  }
  .address-page .address-title {
    white-space: normal;
  }
}
@media (max-width: 920px) {
  .address-page .address-primary-grid,
  .address-page .address-side-rail {
    grid-template-columns: 1fr;
  }
  .address-page .address-hero-panel {
    grid-template-columns: 1fr;
  }
  .address-page .address-title {
    white-space: normal;
  }
}
/* address panel height normalization */
.address-page {
  --address-main-column-height: 396px;
}
.address-page .address-primary-grid {
  align-items: start;
}
.address-page .overview-panel,
.address-page .asset-panel,
.address-page .address-side-rail {
  height: var(--address-main-column-height);
  min-height: var(--address-main-column-height);
  max-height: var(--address-main-column-height);
}
.address-page .overview-panel,
.address-page .asset-panel,
.address-page .address-side-rail .compact-panel {
  overflow: hidden;
}
.address-page .overview-panel,
.address-page .asset-panel {
  display: flex;
  flex-direction: column;
}
.address-page .overview-table {
  flex: 1 1 auto;
}
.address-page .asset-panel .asset-scroll-list {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}
.address-page .address-side-rail {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.address-page .address-side-rail .compact-panel {
  min-height: 0;
}
.address-page .address-side-rail .compact-list,
.address-page .address-side-rail .stack-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}
.address-page .address-side-rail .empty-state {
  overflow: hidden;
}
@media (max-width: 1180px) {
  .address-page .overview-panel,
  .address-page .asset-panel,
  .address-page .address-side-rail {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .address-page .address-side-rail {
    grid-template-rows: none;
  }
  .address-page .asset-panel .asset-scroll-list,
  .address-page .address-side-rail .compact-list,
  .address-page .address-side-rail .stack-list {
    max-height: 220px;
  }
}
@media (max-width: 920px) {
  .address-page {
    --address-main-column-height: auto;
  }
  .address-page .asset-panel .asset-scroll-list,
  .address-page .address-side-rail .compact-list,
  .address-page .address-side-rail .stack-list {
    max-height: 200px;
  }
}

/* address overview chip overflow fix */
.address-page .overview-main-row {
  flex-wrap: wrap;
}
.address-page .overview-main-row > :first-child {
  min-width: 0;
}
.address-page .overview-chip-wrap {
  width: 100%;
  flex: 0 0 100%;
  min-width: 0;
  max-width: 100%;
  margin-left: 0;
  justify-content: flex-start;
  align-content: flex-start;
}
.address-page .overview-chip {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

/* swap page */
.swap-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(151, 223, 214, 0.32), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(255, 220, 182, 0.26), transparent 20%),
    radial-gradient(circle at 78% 76%, rgba(181, 210, 255, 0.26), transparent 24%),
    linear-gradient(180deg, #f4fff9 0%, #f9fffd 34%, #f8fbff 100%);
}
.swap-shell {
  width: min(640px, calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 56px;
  display: grid;
  gap: 10px;
}
.swap-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 6px auto 16px;
  text-align: center;
}
.swap-title-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.swap-title {
  font-size: clamp(2rem, 4.8vw, 3rem);
  letter-spacing: -0.04em;
}
.swap-alert {
  margin-bottom: 2px;
  transition: opacity 0.24s ease, transform 0.24s ease, max-height 0.24s ease, margin 0.24s ease, padding 0.24s ease;
  overflow: hidden;
  max-height: 96px;
}
.swap-alert.is-hidden {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}
.swap-quote-card,
.swap-address-card,
.swap-guide-card {
  border-radius: 16px;
  background: #ffffff;
  border-color: rgba(214, 220, 231, 0.95);
  box-shadow: 0 14px 36px rgba(42, 56, 87, 0.08);
}
.swap-quote-card {
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.swap-quote-card.is-loading {
  border-color: rgba(104, 153, 233, 0.28);
  box-shadow: 0 18px 40px rgba(81, 134, 222, 0.12);
}
.swap-quote-form {
  display: grid;
  gap: 18px;
}
.swap-field-block {
  display: grid;
  gap: 10px;
}
.swap-field-label {
  text-align: center;
  font-weight: 600;
  color: #2b2b2d;
}
.swap-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  border: 1px solid rgba(209, 215, 227, 1);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.swap-amount-input {
  width: 100%;
  min-height: 50px;
  border: 0;
  background: #fff;
  padding: 0 16px;
  font-size: 1.16rem;
  color: #1f2b2c;
  outline: none;
}
.swap-amount-input::-webkit-outer-spin-button,
.swap-amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.swap-amount-input[type=number] {
  -moz-appearance: textfield;
}
.swap-amount-output {
  background: #fafcff;
  font-weight: 700;
  transition: background-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}
.swap-amount-output.is-loading {
  color: #7f8aa3;
  background: linear-gradient(90deg, rgba(245, 248, 255, 0.96), rgba(236, 244, 255, 0.96), rgba(245, 248, 255, 0.96));
}
.swap-amount-output.is-updated {
  background: #f3fbf7;
  box-shadow: inset 0 0 0 1px rgba(46, 173, 101, 0.18);
}
.swap-field-addon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(209, 215, 227, 1);
  background: #fbfcfe;
  color: #202733;
  font-weight: 700;
}
.swap-address-card {
  display: grid;
  gap: 12px;
  text-align: center;
}
.swap-deposit-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 100%;
  min-height: 34px;
  padding: 6px 18px;
  border: 1px solid rgba(214, 220, 231, 1);
  border-radius: 8px;
  background: #fff;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.98rem;
  font-weight: 700;
  color: #2b2b2d;
  word-break: break-all;
}
.swap-deposit-note {
  margin: 0;
  color: #4d5562;
}
.swap-copy-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #567cf0, #4370ea);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.swap-guide-card {
  padding: 0;
  overflow: hidden;
}
.swap-guide-head {
  margin: 0;
  padding: 18px 22px;
  justify-content: center;
  border-bottom: 1px solid rgba(222, 226, 235, 0.9);
}
.swap-guide-body {
  display: grid;
  gap: 18px;
  padding: 18px 26px 26px;
}
.swap-guide-list {
  display: grid;
  gap: 6px;
  color: #202733;
}
.swap-guide-list p {
  margin: 0;
}
.swap-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(214, 220, 231, 1);
  border-radius: 10px;
  background: #fff;
  color: #202733;
  font-weight: 700;
}
.swap-contact-button:hover {
  color: #2b6fdc;
  border-color: rgba(67, 112, 234, 0.25);
}
.swap-contact-button img {
  width: 20px;
  height: 20px;
}
@media (max-width: 920px) {
  .swap-shell {
    width: min(100%, calc(100% - 16px));
    padding: 18px 0 40px;
  }
  .swap-title-row {
    gap: 10px;
    margin-bottom: 12px;
  }
  .swap-title-icon {
    width: 28px;
    height: 28px;
  }
  .swap-quote-card,
  .swap-address-card,
  .swap-guide-card {
    border-radius: 14px;
  }
  .swap-guide-body {
    padding: 16px 18px 18px;
  }
}

/* address animated ad banner */
.address-page {
  --address-ad-height: max(66px, calc(var(--address-main-column-height) / 6));
  --promo-banner-height: calc(var(--address-ad-height) * 2);
}
.ad-banner-panel {
  position: relative;
  display: block;
  width: 100%;
  min-height: var(--address-ad-height);
  height: var(--address-ad-height);
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 30%, rgba(138, 222, 199, 0.34), transparent 28%),
    radial-gradient(circle at 86% 40%, rgba(170, 214, 255, 0.28), transparent 24%),
    linear-gradient(135deg, #f4fffb 0%, #eefaf7 48%, #f5fbff 100%);
  border: 1px solid rgba(178, 223, 212, 0.95);
  box-shadow: 0 16px 34px rgba(74, 130, 120, 0.10);
}
.ad-banner-panel:hover {
  border-color: rgba(102, 181, 161, 0.95);
  box-shadow: 0 18px 42px rgba(66, 124, 118, 0.16);
}
.ad-banner-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
}
.ad-banner-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.ad-banner-kicker {
  flex: 0 0 auto;
  color: #57a38c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ad-banner-art {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ad-banner-char {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(176, 224, 213, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 18px rgba(124, 185, 172, 0.16);
  backdrop-filter: blur(8px);
  animation: adFloat 3.8s ease-in-out infinite;
}
.ad-banner-char:nth-child(2) {
  animation-delay: 0.2s;
}
.ad-banner-char:nth-child(3) {
  animation-delay: 0.4s;
}
.ad-banner-char:nth-child(4) {
  animation-delay: 0.6s;
}
.ad-banner-char:nth-child(5) {
  animation-delay: 0.8s;
}
.ad-banner-char i {
  font-style: normal;
  font-size: 1.26rem;
  font-weight: 900;
  line-height: 1;
  color: #1b5f57;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: adGlow 3.8s ease-in-out infinite;
}
.ad-banner-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  flex: 0 0 auto;
}
.ad-banner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(76, 171, 146, 0.14);
  color: #287466;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ad-banner-hint {
  color: #5d7c77;
  font-size: 0.82rem;
  white-space: nowrap;
}
.ad-banner-bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.4px);
  opacity: 0.64;
}
.ad-banner-bg-left {
  left: -24px;
  top: 10px;
  width: 126px;
  height: 126px;
  background: radial-gradient(circle at 50% 50%, rgba(110, 216, 183, 0.26), rgba(110, 216, 183, 0.06) 68%, transparent 70%);
  animation: adOrbLeft 11s linear infinite;
}
.ad-banner-bg-right {
  right: -18px;
  bottom: -34px;
  width: 158px;
  height: 158px;
  background: radial-gradient(circle at 50% 50%, rgba(121, 182, 255, 0.20), rgba(121, 182, 255, 0.04) 70%, transparent 72%);
  animation: adOrbRight 13s linear infinite;
}
.ad-banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.08) 32%, rgba(255, 255, 255, 0.52) 48%, rgba(255, 255, 255, 0.08) 64%, transparent 78%);
  transform: translateX(-135%);
  animation: adSweep 4.8s ease-in-out infinite;
}
@keyframes adFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes adGlow {
  0%, 100% { opacity: 0.94; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes adSweep {
  0% { transform: translateX(-135%); }
  55% { transform: translateX(135%); }
  100% { transform: translateX(135%); }
}
@keyframes adOrbLeft {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, 6px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@keyframes adOrbRight {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-14px, -8px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@media (max-width: 1180px) {
  .ad-banner-panel {
    min-height: 72px;
    height: 72px;
  }
}
@media (max-width: 920px) {
  .ad-banner-panel {
    min-height: 84px;
    height: auto;
  }
  .ad-banner-inner {
    min-height: 84px;
    padding: 10px 14px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .ad-banner-copy {
    gap: 12px;
    width: 100%;
    justify-content: space-between;
  }
  .ad-banner-side {
    justify-items: start;
    gap: 4px;
  }
  .ad-banner-hint {
    white-space: normal;
  }
}
@media (max-width: 640px) {
  .ad-banner-kicker {
    display: none;
  }
  .ad-banner-char {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  .ad-banner-char i {
    font-size: 1.08rem;
  }
}


.promo-banner-panel {
  position: relative;
  display: block;
  width: 100%;
  min-height: var(--promo-banner-height);
  height: var(--promo-banner-height);
  max-height: var(--promo-banner-height);
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 255, 0.98) 36%, rgba(234, 243, 255, 0.98) 100%);
  border: 1px solid rgba(181, 204, 240, 0.95);
  box-shadow: 0 20px 44px rgba(63, 102, 164, 0.14);
}
.promo-banner-panel:hover {
  border-color: rgba(111, 152, 229, 0.92);
  box-shadow: 0 24px 52px rgba(55, 102, 178, 0.20);
}
.promo-banner-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 20px;
}
.promo-banner-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.promo-banner-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.promo-banner-topline-text,
.promo-banner-brand,
.promo-rotator-line,
.promo-banner-reserve,
.promo-banner-tag {
  position: relative;
  z-index: 2;
}
.promo-banner-topline-text,
.promo-banner-brand,
.promo-rotator-line {
  color: #ffffff;
  -webkit-text-stroke: 1px rgba(103, 149, 236, 0.64);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    0 3px 0 rgba(115, 152, 214, 0.76),
    0 7px 18px rgba(60, 108, 185, 0.18);
}
.promo-banner-topline-text {
  font-size: clamp(1.52rem, 3vw, 2.28rem);
  font-weight: 1000;
  letter-spacing: 0.03em;
}
.promo-banner-brand {
  font-size: clamp(2.22rem, 4.3vw, 3.48rem);
  font-weight: 1000;
  letter-spacing: 0.015em;
  animation: promoPulse 2.8s ease-in-out infinite;
}
.promo-banner-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5f9cff, #4d76e6);
  color: #f9fdff;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(79, 118, 230, 0.18);
}
.promo-banner-rotator {
  position: relative;
  min-height: 30px;
  display: grid;
  align-items: center;
}
.promo-rotator-line {
  grid-area: 1 / 1;
  font-size: clamp(1.08rem, 2.2vw, 1.54rem);
  font-weight: 1000;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(10px);
}
.promo-rotator-line-one {
  animation: promoLineOne 6.4s ease-in-out infinite;
}
.promo-rotator-line-two {
  animation: promoLineTwo 6.4s ease-in-out infinite;
}
.promo-banner-tags {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.promo-banner-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(74, 122, 229, 0.95), rgba(78, 142, 255, 0.88));
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 18px rgba(72, 111, 187, 0.16);
  animation: promoTagFloat 3.6s ease-in-out infinite;
}
.promo-banner-tag:nth-child(2) {
  animation-delay: 0.18s;
}
.promo-banner-tag:nth-child(3) {
  animation-delay: 0.36s;
}
.promo-banner-tag:nth-child(4) {
  animation-delay: 0.54s;
}
.promo-banner-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: 0.82;
}
.promo-banner-glow-left {
  left: -48px;
  top: -36px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 50% 50%, rgba(132, 179, 255, 0.28), rgba(132, 179, 255, 0.08) 64%, transparent 68%);
  animation: promoGlowLeft 10s ease-in-out infinite;
}
.promo-banner-glow-right {
  right: -54px;
  bottom: -56px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 50% 50%, rgba(91, 140, 235, 0.22), rgba(91, 140, 235, 0.06) 66%, transparent 70%);
  animation: promoGlowRight 12s ease-in-out infinite;
}
.promo-banner-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, transparent 18%, rgba(255, 255, 255, 0.08) 32%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.10) 64%, transparent 78%);
  transform: translateX(-135%);
  animation: promoSweep 4.9s ease-in-out infinite;
}
@keyframes promoSweep {
  0% { transform: translateX(-135%); }
  55% { transform: translateX(135%); }
  100% { transform: translateX(135%); }
}
@keyframes promoPulse {
  0%, 100% {
    transform: translateY(0);
    filter: saturate(1);
  }
  50% {
    transform: translateY(-2px);
    filter: saturate(1.12);
  }
}
@keyframes promoLineOne {
  0%, 8% {
    opacity: 0;
    transform: translateY(10px);
  }
  14%, 42% {
    opacity: 1;
    transform: translateY(0);
  }
  50%, 100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes promoLineTwo {
  0%, 46% {
    opacity: 0;
    transform: translateY(10px);
  }
  54%, 84% {
    opacity: 1;
    transform: translateY(0);
  }
  92%, 100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes promoTagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes promoGlowLeft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, 10px, 0); }
}
@keyframes promoGlowRight {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-14px, -12px, 0); }
}
@media (max-width: 1180px) {
  .promo-banner-panel {
    min-height: 144px;
    height: auto;
    max-height: none;
  }
  .promo-banner-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .promo-banner-tags {
    grid-template-columns: repeat(4, minmax(0, auto));
    grid-auto-flow: column;
    justify-items: start;
  }
}
@media (max-width: 920px) {
  .promo-banner-panel {
    min-height: 156px;
    height: auto;
    max-height: none;
  }
  .promo-banner-grid {
    min-height: 0;
    padding: 16px 16px 18px;
    gap: 14px;
  }
  .promo-banner-topline {
    gap: 8px;
  }
  .promo-banner-reserve {
    width: 100%;
    font-size: 0.84rem;
    text-align: center;
  }
  .promo-banner-tags {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 8px;
  }
  .promo-banner-tag {
    min-width: 0;
    width: 100%;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
  }
  .promo-rotator-line {
    font-size: clamp(1.06rem, 4vw, 1.42rem);
  }
}


.address-page .overview-main-row {
  padding-bottom: 10px;
  border-bottom: 0;
}
.address-page .overview-table {
  margin-top: 8px;
}
.address-page .overview-table-row:first-child {
  border-top: 0;
  padding-top: 0;
}


.address-page .overview-main-row {
  padding-bottom: 8px;
  border-bottom: 0 !important;
}
.address-page .overview-table {
  margin-top: 6px;
}
.address-page .overview-table-row:first-child {
  border-top: 0 !important;
  padding-top: 0;
}
.address-page .permission-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.address-page .permission-summary .key-pill {
  background: rgba(13, 119, 95, 0.08);
  color: var(--accent);
}
.address-page .promo-banner-panel {
  min-height: var(--promo-banner-height);
  height: var(--promo-banner-height);
  max-height: var(--promo-banner-height);
}
.address-page .promo-banner-grid {
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px;
  padding: 12px 18px;
}
.address-page .promo-banner-main {
  grid-template-columns: minmax(210px, 0.92fr) minmax(180px, 1.08fr);
  gap: 8px 16px;
  align-content: center;
}
.address-page .promo-banner-topline {
  grid-column: 1 / -1;
}
.address-page .promo-banner-reserve {
  grid-column: 1 / 2;
  width: 100%;
}
.address-page .promo-banner-rotator {
  grid-column: 2 / 3;
  min-height: 34px;
  align-self: center;
}
.address-page .promo-banner-topline-text,
.address-page .promo-banner-brand,
.address-page .promo-rotator-line {
  color: #eef4ff;
  -webkit-text-stroke: 1px rgba(96, 139, 225, 0.82);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96),
    0 2px 0 rgba(124, 158, 228, 0.86),
    0 8px 18px rgba(69, 104, 184, 0.20);
}
.address-page .promo-banner-topline-text {
  font-size: clamp(1.4rem, 2.8vw, 2.02rem);
}
.address-page .promo-banner-brand {
  font-size: clamp(2.02rem, 4vw, 3.02rem);
}
.address-page .promo-banner-reserve {
  padding: 6px 12px;
  font-size: 0.8rem;
}
.address-page .promo-rotator-line {
  font-size: clamp(1rem, 2vw, 1.38rem);
}
.address-page .promo-banner-tags {
  align-content: center;
  gap: 7px;
}
.address-page .promo-banner-tag {
  min-width: 104px;
  padding: 8px 12px;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}
@media (max-width: 1180px) {
  .address-page .promo-banner-panel {
    min-height: 144px;
    height: auto;
    max-height: none;
  }
  .address-page .promo-banner-grid {
    grid-template-columns: 1fr;
  }
  .address-page .promo-banner-main {
    grid-template-columns: 1fr 1fr;
  }
  .address-page .promo-banner-tags {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: stretch;
  }
  .address-page .promo-banner-tag {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 920px) {
  .address-page .promo-banner-panel {
    min-height: 156px;
    height: auto;
    max-height: none;
  }
  .address-page .promo-banner-main {
    grid-template-columns: 1fr;
  }
  .address-page .promo-banner-reserve,
  .address-page .promo-banner-rotator {
    grid-column: auto;
  }
}


.address-page .permission-summary {
  margin-top: 8px;
}
.address-page .permission-keys-list {
  width: 100%;
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.address-page .permission-key {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(13, 119, 95, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: Consolas, Monaco, monospace;
  line-height: 1.45;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.address-page .promo-banner-panel {
  min-height: var(--promo-banner-height);
  height: var(--promo-banner-height);
  max-height: var(--promo-banner-height);
}
.address-page .promo-banner-grid {
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 14px;
  height: 100%;
  padding: 10px 16px;
}
.address-page .promo-banner-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 0;
}
.address-page .promo-banner-topline {
  grid-column: auto;
  gap: 8px;
}
.address-page .promo-banner-topline-text {
  font-size: clamp(1.28rem, 2.4vw, 1.86rem);
}
.address-page .promo-banner-brand {
  font-size: clamp(1.88rem, 3.5vw, 2.72rem);
}
.address-page .promo-banner-reserve {
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  font-size: 0.78rem;
}
.address-page .promo-banner-rotator {
  min-height: 22px;
}
.address-page .promo-rotator-line {
  font-size: clamp(0.92rem, 1.8vw, 1.22rem);
  line-height: 1.15;
}
.address-page .promo-banner-tags {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
}
.address-page .promo-banner-tag {
  min-width: 0;
  width: 100%;
  padding: 7px 10px;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
}
@media (max-width: 1180px) {
  .address-page .promo-banner-panel {
    min-height: 140px;
    height: auto;
    max-height: none;
  }
  .address-page .promo-banner-grid {
    grid-template-columns: 1fr;
  }
  .address-page .promo-banner-main {
    display: flex;
  }
  .address-page .promo-banner-tags {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .address-page .promo-banner-panel {
    min-height: 152px;
    height: auto;
    max-height: none;
  }
  .address-page .promo-banner-grid {
    padding: 14px 14px 16px;
  }
  .address-page .promo-banner-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.address-page .overview-panel {
  padding-bottom: 12px;
}
.address-page .overview-table {
  margin-top: 4px;
  overflow: auto;
  padding-right: 4px;
}
.address-page .overview-table-row {
  padding: 8px 0;
}
.address-page .overview-table-row:first-child {
  padding-top: 0;
}
.address-page .permission-summary {
  margin-top: 8px;
  margin-bottom: 2px;
}
.address-page .permission-keys-list {
  margin-top: 6px;
  max-height: 84px;
  overflow: auto;
  padding-right: 4px;
}
.address-page .promo-banner-panel {
  min-height: var(--promo-banner-height);
  height: var(--promo-banner-height);
  max-height: var(--promo-banner-height);
}
.address-page .promo-banner-grid {
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 12px;
  height: 100%;
  padding: 9px 14px;
}
.address-page .promo-banner-main {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 0;
}
.address-page .promo-banner-topline {
  gap: 6px;
  line-height: 1;
}
.address-page .promo-banner-topline-text {
  font-size: clamp(1.08rem, 2.1vw, 1.46rem);
  line-height: 1;
}
.address-page .promo-banner-brand {
  font-size: clamp(1.62rem, 3.1vw, 2.28rem);
  line-height: 1;
}
.address-page .promo-banner-reserve {
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  font-size: 0.72rem;
  box-shadow: 0 8px 16px rgba(79, 118, 230, 0.16);
}
.address-page .promo-banner-rotator {
  display: grid;
  gap: 2px;
  min-height: 0;
}
.address-page .promo-rotator-line {
  grid-area: auto;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  font-size: clamp(0.86rem, 1.55vw, 1.04rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.address-page .promo-banner-tags {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.address-page .promo-banner-tag {
  min-width: 0;
  width: 100%;
  padding: 6px 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
@media (max-width: 1180px) {
  .address-page .promo-banner-panel {
    min-height: 138px;
    height: auto;
    max-height: none;
  }
  .address-page .promo-banner-grid {
    grid-template-columns: 1fr;
  }
  .address-page .promo-banner-tags {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .address-page .promo-banner-panel {
    min-height: 148px;
    height: auto;
    max-height: none;
  }
  .address-page .promo-banner-grid {
    padding: 12px 12px 14px;
  }
  .address-page .promo-banner-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.address-page .overview-panel {
  padding: 14px 16px 10px;
}
.address-page .overview-panel .panel-head {
  margin-bottom: 8px;
}
.address-page .overview-main-row {
  gap: 8px;
  padding-bottom: 4px !important;
}
.address-page .overview-amount {
  margin-top: 2px;
  font-size: clamp(1.52rem, 2.5vw, 2.1rem);
}
.address-page .overview-sub {
  margin-top: 2px;
  font-size: 0.88rem;
}
.address-page .overview-chip-wrap {
  gap: 6px;
}
.address-page .overview-chip {
  padding: 5px 8px;
  font-size: 0.82rem;
}
.address-page .overview-table {
  margin-top: 2px;
  overflow: visible;
  padding-right: 0;
}
.address-page .overview-table-row {
  padding: 6px 0;
}
.address-page .overview-table-key,
.address-page .overview-table-value {
  font-size: 0.9rem;
}
.address-page .promo-banner-panel {
  min-height: var(--promo-banner-height);
  height: var(--promo-banner-height);
  max-height: var(--promo-banner-height);
}
.address-page .promo-banner-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) 176px;
  gap: 14px;
  height: 100%;
  padding: 10px 16px;
  align-items: center;
}
.address-page .promo-banner-brand-block,
.address-page .promo-banner-copy-block {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 6px;
}
.address-page .promo-banner-topline {
  gap: 6px;
  line-height: 1;
}
.address-page .promo-banner-topline-text {
  font-size: clamp(1.06rem, 2vw, 1.4rem);
  line-height: 1;
}
.address-page .promo-banner-brand {
  font-size: clamp(1.72rem, 3vw, 2.34rem);
  line-height: 1;
}
.address-page .promo-banner-reserve {
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  font-size: 0.72rem;
  box-shadow: 0 8px 16px rgba(79, 118, 230, 0.14);
}
.address-page .promo-banner-copy-block {
  gap: 8px;
}
.address-page .promo-copy-line {
  color: #eef4ff;
  -webkit-text-stroke: 1px rgba(96, 139, 225, 0.82);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96),
    0 2px 0 rgba(124, 158, 228, 0.86),
    0 8px 18px rgba(69, 104, 184, 0.20);
  font-size: clamp(0.92rem, 1.65vw, 1.18rem);
  font-weight: 1000;
  line-height: 1.12;
  letter-spacing: 0.02em;
}
.address-page .promo-copy-line-strong {
  font-size: clamp(1.04rem, 1.9vw, 1.34rem);
}
.address-page .promo-banner-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: center;
}
.address-page .promo-banner-tag {
  min-width: 0;
  width: 100%;
  padding: 8px 8px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
@media (max-width: 1180px) {
  .address-page .promo-banner-panel {
    min-height: 142px;
    height: auto;
    max-height: none;
  }
  .address-page .promo-banner-grid {
    grid-template-columns: 1fr;
  }
  .address-page .promo-banner-tags {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .address-page .promo-banner-panel {
    min-height: 152px;
    height: auto;
    max-height: none;
  }
  .address-page .promo-banner-grid {
    padding: 12px 12px 14px;
  }
  .address-page .promo-banner-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.address-page .promo-banner-grid {
  grid-template-columns: minmax(210px, 0.74fr) minmax(300px, 1.26fr) 142px;
  gap: 10px;
  padding: 10px 14px 10px 12px;
}
.address-page .promo-banner-brand-block {
  justify-self: start;
}
.address-page .promo-banner-copy-block {
  justify-self: start;
  width: 100%;
  max-width: 420px;
  margin-left: -14px;
}
.address-page .promo-banner-tags {
  justify-self: start;
  width: 142px;
  margin-left: -12px;
  gap: 6px;
}
.address-page .promo-banner-tag {
  padding: 8px 6px;
}
@media (max-width: 1180px) {
  .address-page .promo-banner-copy-block {
    margin-left: 0;
    max-width: none;
  }
  .address-page .promo-banner-tags {
    width: 100%;
    margin-left: 0;
  }
}


.address-page .promo-banner-copy-block {
  max-width: 452px;
  margin-left: -20px;
  gap: 10px;
}
.address-page .promo-copy-line {
  font-size: clamp(1.02rem, 1.9vw, 1.34rem);
  line-height: 1.14;
}
.address-page .promo-copy-line-strong {
  font-size: clamp(1.22rem, 2.25vw, 1.62rem);
}
@media (max-width: 1180px) {
  .address-page .promo-banner-copy-block {
    max-width: none;
    margin-left: 0;
  }
}


.address-page .promo-banner-grid {
  grid-template-columns: minmax(220px, 0.84fr) minmax(0, 1.16fr) 142px;
}
.address-page .promo-banner-copy-block {
  justify-self: stretch;
  align-content: center;
  justify-items: center;
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding: 0 8px;
  gap: 10px;
  text-align: center;
}
.address-page .promo-copy-line {
  width: 100%;
  text-align: center;
}
@media (max-width: 1180px) {
  .address-page .promo-banner-copy-block {
    padding: 0;
  }
}


.address-page .promo-banner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}
.address-page .promo-banner-brand-block {
  flex: 0 1 320px;
  max-width: 320px;
}
.address-page .promo-banner-copy-block {
  flex: 0 1 368px;
  justify-self: auto;
  align-content: center;
  justify-items: center;
  width: auto;
  max-width: 368px;
  margin: 0;
  padding: 0;
  gap: 8px;
  text-align: center;
}
.address-page .promo-banner-tags {
  flex: 0 0 124px;
  width: 124px;
  margin-left: 0;
  gap: 6px;
}
.address-page .promo-copy-line {
  width: 100%;
  text-align: center;
}
@media (max-width: 1180px) {
  .address-page .promo-banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: initial;
  }
  .address-page .promo-banner-brand-block,
  .address-page .promo-banner-copy-block,
  .address-page .promo-banner-tags {
    flex: initial;
    max-width: none;
    width: 100%;
  }
}


.address-page .promo-banner-grid {
  gap: 8px;
  padding: 10px 16px 10px 18px;
}
.address-page .promo-banner-brand-block {
  flex: 0 1 332px;
  max-width: 332px;
  padding-left: 10px;
  transform: translateY(-4px);
}
.address-page .promo-banner-topline {
  gap: 8px;
}
.address-page .promo-banner-topline-text {
  font-size: clamp(1.14rem, 2.15vw, 1.52rem);
}
.address-page .promo-banner-brand {
  font-size: clamp(1.9rem, 3.25vw, 2.62rem);
}
.address-page .promo-banner-reserve {
  margin-top: 2px;
  padding: 6px 12px;
  font-size: 0.78rem;
}
.address-page .promo-banner-copy-block {
  flex: 0 1 392px;
  max-width: 392px;
  gap: 10px;
}
.address-page .promo-copy-line {
  font-size: clamp(1.14rem, 2.05vw, 1.5rem);
  line-height: 1.14;
}
.address-page .promo-copy-line-strong {
  font-size: clamp(1.34rem, 2.45vw, 1.82rem);
}


.address-page .promo-banner-grid {
  justify-content: flex-start;
  gap: 10px;
}
.address-page .promo-banner-brand-block,
.address-page .promo-banner-copy-block {
  min-height: 90px;
}
.address-page .promo-banner-copy-block {
  flex: 0 1 438px;
  max-width: 438px;
  margin-left: -10px;
  justify-content: center;
  gap: 12px;
}
.address-page .promo-copy-line {
  font-size: clamp(1.22rem, 2.22vw, 1.62rem);
  line-height: 1.12;
}
.address-page .promo-copy-line-strong {
  font-size: clamp(1.46rem, 2.72vw, 2rem);
}
.address-page .promo-banner-tags {
  margin-left: auto;
}
@media (max-width: 1180px) {
  .address-page .promo-banner-grid {
    justify-content: initial;
  }
  .address-page .promo-banner-brand-block,
  .address-page .promo-banner-copy-block {
    min-height: 0;
  }
  .address-page .promo-banner-copy-block {
    margin-left: 0;
  }
  .address-page .promo-banner-tags {
    margin-left: 0;
  }
}


.address-page .promo-banner-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: 2px;
}
.address-page .promo-banner-icon-wrap {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 22px rgba(93, 116, 170, 0.14);
  perspective: 720px;
}
.address-page .promo-banner-icon-flip {
  position: relative;
  width: 58px;
  height: 58px;
  transform-style: preserve-3d;
  will-change: transform;
  animation: promo-badge-3d-flip 4.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.address-page .promo-banner-icon-wrap:nth-child(2) .promo-banner-icon-flip {
  animation-delay: 0.42s;
}
.address-page .promo-banner-icon-wrap:nth-child(3) .promo-banner-icon-flip {
  animation-delay: 0.84s;
}
.address-page .promo-banner-icon-face {
  position: absolute;
  inset: 0;
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(77, 96, 150, 0.14));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.address-page .promo-banner-icon-face-back {
  transform: rotateY(180deg);
}
@keyframes promo-badge-3d-flip {
  0%,
  14% {
    transform: rotateY(0deg);
  }
  36%,
  64% {
    transform: rotateY(180deg);
  }
  86%,
  100% {
    transform: rotateY(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .address-page .promo-banner-icon-flip {
    animation: none;
  }
}
@media (max-width: 1180px) {
  .address-page .promo-banner-icons {
    justify-content: center;
    margin-left: 0;
  }
}

@supports (padding: max(0px)) {
  @media (max-width: 768px) {
    .address-site-header-fill {
      padding-left: max(0px, env(safe-area-inset-left, 0px));
      padding-right: max(0px, env(safe-area-inset-right, 0px));
    }
    .address-site-header .container.address-nav-row {
      padding-left: max(12px, env(safe-area-inset-left, 0px));
      padding-right: max(12px, env(safe-area-inset-right, 0px));
    }
  }
}
/* headerrefresh-final-20260322 */
.address-page .site-header,
.swap-page .site-header {
  background: rgba(244, 255, 249, 0.78);
  border-bottom: 1px solid rgba(195, 225, 216, 0.74);
  backdrop-filter: blur(14px);
}
.address-page .address-site-header,
.swap-page .address-site-header {
  background: rgba(244, 255, 249, 0.78);
  border-bottom: 1px solid rgba(195, 225, 216, 0.74);
}
.address-page .address-nav-row,
.swap-page .address-nav-row {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 16px;
  padding: 12px 0;
}
.address-page .address-site-header .brand,
.address-page .address-site-header .nav-links,
.address-page .address-site-header .nav-links a,
.swap-page .address-site-header .brand,
.swap-page .address-site-header .nav-links,
.swap-page .address-site-header .nav-links a {
  color: #1e2a30;
}
.address-page .address-nav-row > .brand-rich,
.swap-page .address-nav-row > .brand-rich {
  flex: 0 0 auto;
}
.address-page .address-nav-row > .nav-links,
.swap-page .address-nav-row > .nav-links {
  flex: 0 1 auto;
  margin-left: auto;
}
.address-page .address-nav-row > .header-music-player,
.address-page .address-nav-row > .header-search,
.swap-page .address-nav-row > .header-search {
  margin-left: 0;
}
.address-page .nav-links-light,
.swap-page .nav-links-light {
  align-items: center;
  gap: 12px 16px;
}
.address-page .nav-links-light a,
.swap-page .nav-links-light a {
  color: #5f7077;
}
.address-page .nav-links-light a:hover,
.swap-page .nav-links-light a:hover {
  color: #0f6e78;
}
.address-page .header-search,
.swap-page .header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  flex: 1 1 340px;
  min-width: min(360px, 100%);
  max-width: 430px;
  gap: 8px;
}
.address-page .header-search input,
.swap-page .header-search input {
  min-height: 42px;
  border: 1px solid rgba(195, 225, 216, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #1f2b30;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.address-page .header-search input::placeholder,
.swap-page .header-search input::placeholder {
  color: #8ba0a8;
}
.address-page .header-search button,
.swap-page .header-search button {
  min-height: 42px;
  border-radius: 14px;
  padding: 0 16px;
  background: linear-gradient(135deg, #65c3b2, #4d8fdc);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(77, 143, 220, 0.18);
}
.address-page .header-music-player {
  flex: 1 1 260px;
  max-width: 320px;
  min-width: 240px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 10px;
  border-radius: 16px;
  border: 1px solid rgba(195, 225, 216, 0.92);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 247, 0.98));
  color: #213038;
  box-shadow: 0 10px 24px rgba(94, 148, 160, 0.12);
}
.address-page .header-music-player.is-loading {
  box-shadow: 0 0 0 1px rgba(117, 196, 186, 0.20), 0 12px 26px rgba(94, 148, 160, 0.16);
}
.address-page .header-music-player.is-playing {
  border-color: rgba(110, 202, 185, 0.48);
  background: linear-gradient(135deg, rgba(243, 255, 251, 0.98), rgba(236, 246, 255, 0.98));
}
.address-page .music-title {
  color: #1f2b30;
}
.address-page .music-status {
  color: #70838b;
}
.address-page .music-meta {
  min-width: 0;
}
.address-page .music-title,
.address-page .music-status {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.address-page .music-nav,
.address-page .music-toggle {
  background: rgba(101, 195, 178, 0.12);
  color: #2d5f6d;
}
.address-page .music-nav:hover,
.address-page .music-toggle:hover {
  background: rgba(101, 195, 178, 0.2);
}
.address-page .music-bars i {
  background: linear-gradient(180deg, #65c3b2, #4d8fdc);
}
@media (max-width: 920px) {
  .address-page .address-nav-row,
  .swap-page .address-nav-row {
    gap: 10px 12px;
  }
  .address-page .address-nav-row > .nav-links,
  .swap-page .address-nav-row > .nav-links {
    margin-left: 0;
  }
  .address-page .header-music-player,
  .address-page .header-search,
  .swap-page .header-search {
    max-width: none;
  }
}
@media (max-width: 768px) {
  .address-page .site-header,
  .swap-page .site-header {
    position: static;
    backdrop-filter: none;
  }
  .address-page .address-site-header,
  .swap-page .address-site-header {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .address-page .address-nav-row,
  .swap-page .address-nav-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
    padding: 12px 0 14px;
    gap: 10px;
  }
  .address-page .address-nav-row > *,
  .swap-page .address-nav-row > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0 !important;
  }
  .address-page .address-nav-row .brand-rich,
  .swap-page .address-nav-row .brand-rich {
    justify-content: flex-start;
  }
  .address-page .nav-links,
  .address-page .nav-links-light,
  .swap-page .nav-links,
  .swap-page .nav-links-light {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  .address-page .header-music-player,
  .address-page .header-search,
  .swap-page .header-search {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    width: 100%;
  }
  .address-page .header-search,
  .swap-page .header-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
@media (max-width: 540px) {
  .address-page .header-search,
  .swap-page .header-search {
    grid-template-columns: minmax(0, 1fr) 92px;
  }
  .address-page .header-search button,
  .swap-page .header-search button {
    padding: 0 12px;
  }
}