:root {
  color-scheme: dark;
  --bg: #0c0d10;
  --panel: #14151b;
  --panel2: #1b1c24;
  --line: #292b35;
  --text: #f3f1f6;
  --muted: #9c9da9;
  --accent: #ff586e;
  --green: #79d8af;
  --font: Inter, Segoe UI, Arial, sans-serif;
}
[hidden] {
  display: none !important;
}
.wallet-address {
  display: block;
  padding: 12px;
  background: #101116;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-wrap: anywhere;
  user-select: all;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--font);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button {
  border: 0;
}
svg {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(32px, 4vw, 48px);
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 19px;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 12px;
}
.small {
  font-size: 14px;
}
.mono {
  font-family: Consolas, monospace;
}
.accent {
  color: var(--accent);
}
.positive {
  color: var(--green);
}
.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 30px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 104px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-name {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -1.9px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #121116;
}
.brand-sub {
  font:
    11px/1.4 Consolas,
    monospace;
  color: var(--muted);
  letter-spacing: 2px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.nav {
  display: flex;
  padding: 4px;
  background: #14151a;
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 3px;
}
.nav a {
  padding: 8px 16px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 14px;
}
.nav a.active {
  background: #2b2c36;
  color: #fff;
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.network {
  font-size: 12px;
  color: var(--muted);
}
.btn {
  border-radius: 9px;
  padding: 11px 17px;
  background: var(--panel2);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: #282a34;
}
.btn.primary {
  background: var(--accent);
  color: #18090c;
  border-color: var(--accent);
}
.btn.primary:hover {
  background: #ff7c8d;
}
.btn.light {
  background: #f1edf4;
  color: #141218;
  border-color: #f1edf4;
}
.btn.ghost {
  background: transparent;
}
.btn.wide {
  width: 100%;
  padding: 14px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  background: var(--panel2);
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 20px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  gap: 20px;
}
.eyebrow {
  font:
    12px Consolas,
    monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 18px;
  margin: 12px 0 34px;
}
.hero {
  border: 1px solid #493039;
  border-radius: 17px;
  padding: 30px;
  background:
    radial-gradient(ellipse at 100% 0%, #61263360, transparent 68%), #191419;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.hero h1 {
  max-width: 510px;
}
.hero h1 span {
  color: var(--accent);
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 24px;
}
.hero-foot p {
  font-size: 14px;
  color: #b8a5af;
}
.bridge-teaser {
  padding: 30px;
  border: 1px solid #313342;
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 100% 100%, #30375460, transparent 80%), #14161d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bridge-teaser h2 {
  font-size: 29px;
  max-width: 270px;
}
.bridge-path {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 25px;
  font-size: 13px;
  color: #a7acbc;
}
.chain-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #303444;
  color: #fff;
  font-weight: 700;
}
.bridge-teaser .eyebrow {
  color: #abb5d2;
}
.market-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.count {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px 9px;
  color: var(--muted);
  font-size: 13px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 410px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #111218;
  border-radius: 10px;
  color: var(--muted);
}
.searchbox input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  outline: 0;
  color: var(--text);
  font-size: 14px;
}
.sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.sort select {
  background: #1a1b23;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.chip {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  padding: 7px 13px;
}
.chip.active {
  background: #41242c;
  border-color: #76414d;
  color: #ffc8d0;
}
.tokens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.token-card {
  display: block;
  min-width: 0;
  background: linear-gradient(130deg, #1a1b22, #121319);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 21px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.token-card:hover {
  border-color: #80505b;
  transform: translateY(-2px);
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.token-id {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.avatar {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--token-color, #ff586e);
  color: #111;
  font-size: 16px;
  font-weight: 800;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.token-title {
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 155px;
}
.token-symbol {
  font:
    12px Consolas,
    monospace;
  color: var(--muted);
}
.card-arrow {
  color: #686a77;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 20px;
}
.price-row strong {
  font-size: 27px;
  letter-spacing: -1px;
}
.price-row .eyebrow {
  font-size: 10px;
  margin: 0 0 2px;
  letter-spacing: 1.5px;
}
.spark {
  width: 100px;
  height: 38px;
  color: var(--token-color);
  opacity: 0.85;
}
.card-bottom {
  border-top: 1px solid #262731;
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.pair {
  font:
    12px Consolas,
    monospace;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d6d6df;
}
.pair-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aab1d0;
}
.market-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.footer {
  margin: 50px 0 25px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  color: var(--muted);
  font-size: 12px;
}
.footer p {
  max-width: 650px;
}
.footer button {
  background: none;
  color: var(--muted);
  padding: 0;
  font-size: 12px;
  text-decoration: underline;
  white-space: nowrap;
}
.empty {
  padding: 65px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 13px;
  grid-column: 1/-1;
}
.empty p {
  margin: 12px 0;
  color: var(--muted);
}
.page-title {
  margin: 22px 0 30px;
}
.page-title p {
  margin-top: 12px;
  color: var(--muted);
}
.back {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 25px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 26px;
}
.detail-heading {
  display: flex;
  gap: 15px;
  align-items: center;
}
.detail-heading .avatar {
  width: 58px;
  height: 58px;
  font-size: 23px;
}
.detail-heading h1 {
  font-size: 32px;
  overflow-wrap: anywhere;
}
.detail-description {
  color: var(--muted);
  margin-top: 22px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 25px 0;
  margin-top: 10px;
}
.stats strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.6px;
}
.stats span {
  font-size: 12px;
  color: var(--muted);
}
.big-chart {
  width: 100%;
  height: 175px;
  margin: 25px 0 8px;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.info-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid #22242d;
}
.info-line:last-child {
  border: 0;
}
.info-line strong {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}
.tabs {
  display: flex;
  padding: 4px;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 23px;
}
.tabs button {
  width: 50%;
  padding: 9px;
  border-radius: 7px;
  background: none;
  color: var(--muted);
  font-size: 14px;
}
.tabs button.active {
  background: #34303a;
  color: #fff;
}
.input-box {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px;
  background: #101116;
  margin: 14px 0;
}
.input-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.input-amount {
  display: flex;
  align-items: center;
  gap: 12px;
}
.input-amount input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 30px;
  outline: 0;
  padding: 0;
  font-weight: 500;
}
.input-amount span {
  font-size: 14px;
}
.max {
  background: none;
  color: #e0bdc6;
  font-size: 12px;
  padding: 0;
}
.trade-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  text-align: center;
}
.quote {
  min-height: 98px;
  margin: 18px 0;
}
.error {
  color: #ff9caa;
  font-size: 14px;
  margin: 12px 0;
}
.swap-arrow {
  margin: -3px auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #1e2029;
  display: grid;
  place-items: center;
  color: #c7c8d3;
}
.bridge-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  max-width: 980px;
  margin: auto;
}
.bridge-guide {
  padding: 24px 15px 24px 30px;
}
.step {
  display: flex;
  gap: 16px;
  margin: 30px 0;
}
.step-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid #51404a;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font:
    12px Consolas,
    monospace;
  color: #ffc0cc;
}
.step h3 {
  font-size: 16px;
  margin: 2px 0 6px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
}
.notice {
  border: 1px solid #513a41;
  background: #21191e;
  padding: 15px;
  border-radius: 10px;
  font-size: 13px;
  color: #d9b9c2;
}
.asset-select {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel2);
  color: var(--text);
  font-size: 14px;
}
.activity {
  display: grid;
  gap: 12px;
}
.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.activity-item h3 {
  font-size: 16px;
  margin-bottom: 5px;
}
.activity-item p {
  font-size: 13px;
  color: var(--muted);
}
.activity-end {
  text-align: right;
  font-size: 14px;
}
.badge {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid #304f43;
  color: #9fe1bf;
  border-radius: 6px;
  margin-top: 5px;
}
.balance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.balance {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.balance span {
  color: var(--muted);
  font-size: 12px;
}
.balance strong {
  display: block;
  font-size: 22px;
  margin-top: 5px;
}
.modal {
  width: min(610px, calc(100% - 28px));
  max-height: 90dvh;
  border: 1px solid #44404b;
  background: #17171f;
  color: var(--text);
  border-radius: 17px;
  padding: 28px;
  box-shadow: 0 30px 100px #0009;
}
.modal::backdrop {
  background: #05050bbf;
  backdrop-filter: blur(6px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.modal h2 {
  font-size: 25px;
}
.modal p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  margin-bottom: 16px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #383843;
  border-radius: 8px;
  background: #101116;
  color: var(--text);
  padding: 11px;
  font-size: 15px;
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}
.field input[type="file"] {
  font-size: 12px;
}
.modal .notice {
  margin: 16px 0;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.summary-list {
  margin: 15px 0 22px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 22px;
  border: 1px solid #65505b;
  background: #2a2028;
  color: #fff;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 10px 40px #0007;
  max-width: calc(100% - 30px);
  font-size: 14px;
}
.hidden {
  display: none !important;
}
.mobile-label {
  display: none;
}
@media (max-width: 1000px) {
  .brand-sub,
  .network {
    display: none;
  }
  .header {
    gap: 12px;
  }
  .nav a {
    padding: 8px 11px;
  }
  .tokens {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-foot p {
    max-width: 180px;
  }
  .bridge-teaser h2 {
    font-size: 26px;
  }
  .detail-layout {
    grid-template-columns: 1.2fr 1fr;
  }
  .stats {
    gap: 8px;
  }
  .stats strong {
    font-size: 19px;
  }
}
@media (max-width: 680px) {
  .wrap {
    padding: 0 18px;
  }
  .header {
    flex-wrap: wrap;
    padding: 19px 0;
    min-height: 120px;
    gap: 16px;
  }
  .brand-name {
    font-size: 27px;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .nav a {
    text-align: center;
    flex: 1;
  }
  .header-actions .btn {
    padding: 9px 12px;
    font-size: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    margin-top: 8px;
    gap: 12px;
  }
  .hero {
    padding: 23px;
    min-height: auto;
  }
  .hero h1 {
    font-size: 35px;
  }
  .hero-foot {
    align-items: center;
  }
  .hero-foot p {
    max-width: 160px;
    font-size: 12px;
  }
  .bridge-teaser {
    padding: 23px;
    min-height: 190px;
  }
  .bridge-teaser h2 {
    max-width: 100%;
    font-size: 26px;
  }
  .bridge-path {
    margin-top: 18px;
  }
  .tokens {
    grid-template-columns: 1fr;
  }
  .token-card {
    padding: 20px;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .searchbox {
    width: 100%;
  }
  .sort {
    justify-content: flex-end;
  }
  .section-top {
    margin-bottom: 20px;
  }
  .section-top h2 {
    font-size: 23px;
  }
  .filters {
    gap: 6px;
  }
  .chip {
    padding: 7px 10px;
  }
  .detail-layout,
  .bridge-layout {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 21px;
  }
  .bridge-guide {
    padding: 10px 5px;
  }
  .page-title h1 {
    font-size: 34px;
  }
  .balance-grid {
    grid-template-columns: 1fr 1fr;
  }
  .activity-item {
    padding: 16px;
    gap: 12px;
    align-items: flex-start;
  }
  .activity-item h3 {
    font-size: 14px;
  }
  .activity-end {
    font-size: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer {
    flex-direction: column;
    margin-top: 35px;
    gap: 15px;
  }
  .modal {
    padding: 22px;
  }
  .modal h2 {
    font-size: 23px;
  }
  .price-row {
    margin: 18px 0;
  }
  .spark {
    width: 125px;
  }
  .stats strong {
    font-size: 18px;
  }
  .modal-actions {
    flex-wrap: wrap;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .detail-heading h1 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.status-panel {
  margin-top: 20px;
}
.status-panel p + p {
  margin-top: 12px;
}
.status-address {
  overflow-wrap: anywhere;
  font-size: 13px;
}
.feature-label {
  display: inline-block;
  margin-top: 24px;
  color: #d7bdc7;
  font-size: 12px;
}
.network-label {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.market-section .eyebrow {
  font-size: 10px;
  margin-bottom: 8px;
}
.market-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(115deg, #21151d, var(--panel) 48%);
}
.market-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
}
.token-emblem {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border: 1px solid #653341;
  border-radius: 20px;
  background: #321e28;
  color: var(--accent);
  font-size: 42px;
}
.market-identity h3 {
  font-size: 28px;
  letter-spacing: -1px;
}
.market-identity h3 span {
  color: var(--muted);
  font-weight: 400;
}
.market-identity p {
  margin-top: 5px;
  font-size: 13px;
  color: var(--muted);
}
.market-state {
  margin-left: auto;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.market-metrics {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-block: 1px solid var(--line);
}
.market-metrics > div {
  padding: 24px 30px;
}
.market-metrics > div + div {
  border-left: 1px solid var(--line);
}
.market-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.market-metrics strong {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.market-metrics small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.market-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 30px;
}
.market-bottom p {
  color: var(--muted);
  font-size: 12px;
  max-width: 610px;
}
.market-bottom .btn {
  flex-shrink: 0;
}
.connection-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 30px;
}
.text-button {
  padding: 4px 0;
  color: var(--text);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: inherit;
}
@media (max-width: 680px) {
  .market-identity {
    padding: 22px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .token-emblem {
    width: 52px;
    height: 52px;
    font-size: 32px;
    border-radius: 14px;
  }
  .market-identity h3 {
    font-size: 23px;
  }
  .market-state {
    margin-left: 0;
  }
  .market-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .market-metrics > div {
    padding: 20px 22px;
  }
  .market-metrics > div:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
  }
  .market-metrics > div:nth-child(2) {
    border-left: 0;
  }
  .market-metrics strong {
    font-size: 22px;
  }
  .market-bottom {
    padding: 20px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.live-note {
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}
.status-panel .btn {
  margin-top: 18px;
}
.how-section {
  margin-top: 64px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.how-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.how-heading h2 {
  font-size: clamp(30px, 4vw, 40px);
}
.how-heading > p {
  max-width: 460px;
  color: var(--muted);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.how-step {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #22181e, var(--panel) 65%);
}
.how-step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}
.how-number {
  font:
    22px Consolas,
    monospace;
  color: var(--accent);
}
.how-tag {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 7px;
  border-radius: 20px;
  white-space: nowrap;
}
.how-tag.available {
  color: var(--green);
  border-color: #31433d;
}
.how-step h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.how-step p,
.how-explained p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.how-explained {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  padding: 30px 0;
}
.how-explained h3 {
  margin-bottom: 12px;
}
.how-explained strong {
  color: var(--text);
  font-weight: 500;
}
.how-fees {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px;
  border: 1px solid #493039;
  border-radius: 14px;
  background: #191419;
}
.how-fees .eyebrow {
  display: block;
  font-size: 10px;
  margin-bottom: 8px;
}
.how-fees strong {
  color: var(--accent);
  font-size: 21px;
}
.how-fees span:not(.eyebrow) {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}
.how-fees > p {
  max-width: 340px;
  font-size: 13px;
  color: var(--muted);
}
.how-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
}
.how-footer p {
  max-width: 730px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.how-footer .btn {
  flex-shrink: 0;
}
@media (max-width: 1000px) {
  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .nav a {
    padding: 8px 5px;
    font-size: 12px;
  }
  .how-section {
    margin-top: 40px;
    padding-top: 28px;
  }
  .how-heading,
  .how-fees,
  .how-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .how-heading > p {
    font-size: 14px;
  }
  .how-steps,
  .how-explained {
    grid-template-columns: 1fr;
  }
  .how-step-top {
    margin-bottom: 18px;
  }
  .how-explained {
    gap: 24px;
  }
}
