.main {
  position: relative;
}

body.route-page .app {
  grid-template-columns: 244px minmax(0, 1fr);
}

body.route-page .sidebar {
  padding-left: 32px;
}

body.route-page .main {
  padding: 0 24px 40px 0;
}

body.route-page .topbar {
  position: absolute;
  top: 8px;
  right: 0;
  z-index: 5;
  min-height: 44px;
  margin: 0;
}

body.route-page .layout {
  display: block;
}

body.route-page .brand {
  width: 188px;
  height: 30px;
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 24px;
}

body.route-page .brand-mark {
  width: 22px;
  height: 22px;
}

body.route-page .nav-item,
body.route-page .bard {
  font-size: 16px;
  font-weight: 500;
}

.app-page {
  display: grid;
  gap: 24px;
  max-width: 1012px;
  margin: 0 auto;
}

.app-page-title {
  margin: 8px 0 0;
  color: #20212f;
  font-size: 25px;
  line-height: 32px;
  font-weight: 800;
}

.app-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 590px) 354px;
  gap: 50px;
  align-items: start;
  margin-top: 64px;
}

.react-panel {
  border: 1px solid #d9dedc;
  border-radius: 8px;
  background: #ffffff;
}

.center-card {
  width: 590px;
  min-height: 600px;
  padding: 32px;
}

.btc-hero-art {
  display: grid;
  place-items: center;
  height: 350px;
  color: #00e676;
}

.btc-hero-art svg {
  width: 310px;
  height: 310px;
  filter: drop-shadow(0 18px 12px rgba(0, 0, 0, 0.08));
}

.react-title {
  margin: 10px 0 14px;
  color: #20212f;
  font-size: 25px;
  line-height: 32px;
  font-weight: 500;
}

.react-copy {
  margin: 0 0 32px;
  color: #3d3f45;
  font-size: 16px;
  line-height: 24px;
}

.full-btn {
  width: 100%;
  min-height: 48px;
}

.wallet-card {
  width: 354px;
  overflow: hidden;
  border: 1px solid #e1e5e3;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09);
}

.route-stat {
  min-height: 112px;
  padding: 20px;
  border: 1px solid #e1e5e3;
  border-radius: 12px;
  background: #ffffff;
}

.route-stat span {
  color: #71807d;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.route-stat strong {
  display: block;
  margin-top: 12px;
  color: #20212f;
  font-size: 24px;
  line-height: 1;
}

.wallet-line {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 88px;
  padding: 18px 24px;
  border-bottom: 1px solid #edf0ee;
}

.wallet-line.highlight {
  border-left: 3px solid #00a890;
  background: #f7fbfa;
}

.wallet-line:last-child {
  border-bottom: 0;
}

.asset-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  background: #00e676;
  font-size: 21px;
  font-weight: 900;
}

.asset-icon.btc {
  background: #ff970e;
}

.asset-icon.dark {
  background: #174a43;
}

.wallet-name {
  font-weight: 800;
}

.wallet-sub,
.small-muted {
  color: #9aa1a0;
  font-size: 12px;
}

.green-pill {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #d8f7ea;
  color: #049c72;
  font-size: 12px;
  font-weight: 800;
}

.wallet-amount {
  text-align: right;
}

.wallet-amount strong {
  display: block;
  font-size: 22px;
  line-height: 24px;
}

.wallet-actions-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  grid-column: 2 / 4;
}

.wallet-actions-mini .btn {
  min-height: 40px;
  color: #a8afad;
  background: #edf2f0;
}

.finance-card {
  width: 590px;
  margin: 88px auto 0;
  padding: 40px;
}

.finance-card h1 {
  margin: -92px 0 98px -210px;
  font-size: 25px;
  line-height: 32px;
}

.field-grid {
  display: grid;
  gap: 20px;
}

.field-grid.two {
  grid-template-columns: 1fr 52px 1fr;
  align-items: end;
}

.field-label {
  display: block;
  margin-bottom: 14px;
  font-size: 16px;
  color: #20212f;
}

.select-box,
.amount-box,
.input-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 80px;
  padding: 0 16px;
  border: 1px solid #e0e3e2;
  border-radius: 8px;
  background: #ffffff;
}

.amount-box {
  min-height: 80px;
}

.input-box {
  min-height: 48px;
  color: #a0a4aa;
}

.swap-round {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #edf5f4;
  color: #7d8a88;
}

.amount-zero {
  margin-left: auto;
  color: #a5a8ae;
  font-size: 24px;
}

.info-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  background: #f7f7f7;
  color: #45484c;
  font-size: 14px;
  line-height: 18px;
}

.footer-links {
  position: fixed;
  right: 48px;
  bottom: 26px;
  display: flex;
  gap: 18px;
  color: #303237;
  font-size: 14px;
}

.finance-card + .footer-links {
  position: static;
  justify-content: flex-end;
  margin-top: 240px;
  padding-right: 24px;
}

.inline-footer {
  position: static;
  justify-content: flex-end;
  margin-top: 240px;
  padding-right: 24px;
}

.footer-links span:first-child {
  color: #b1b7bd;
}

.dark-hero {
  border-radius: 20px;
  background: #153f3d;
  color: #ffffff;
}

.earn-top {
  display: grid;
  gap: 24px;
  padding: 34px;
}

.earn-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 30px;
  font-weight: 800;
}

.earn-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-card {
  min-height: 176px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid #00e676;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-card.orange {
  border-top-color: #ff970e;
}

.metric-card span {
  color: #c2d0cd;
  font-size: 12px;
  letter-spacing: .04em;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 32px;
  line-height: 1;
}

.chart-line {
  height: 42px;
  margin-top: 32px;
  border-bottom: 3px solid #00e676;
  border-radius: 50%;
  opacity: .9;
}

.metric-card.orange .chart-line {
  border-bottom-color: #ff970e;
}

.balance-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  min-height: 306px;
  padding: 86px 34px 34px;
  border-radius: 10px;
  background: #174543;
  color: #ffffff;
}

.feature-band h2 {
  margin: 0 0 18px;
  font-size: 33px;
}

.feature-band p {
  max-width: 610px;
  color: #c4d0cf;
  font-size: 16px;
  line-height: 24px;
}

.cube-art {
  position: relative;
  align-self: center;
  height: 180px;
}

.cube-art::before,
.cube-art::after {
  position: absolute;
  content: "";
  border: 1px solid #0b1918;
  background: #214d4b;
  transform: skewY(30deg);
}

.cube-art::before {
  right: 70px;
  top: 20px;
  width: 86px;
  height: 120px;
}

.cube-art::after {
  right: 18px;
  top: 58px;
  width: 64px;
  height: 84px;
  background: #00e676;
}

.rewards-grid {
  display: grid;
  grid-template-columns: minmax(0, 626px) 354px;
  gap: 32px;
}

.rewards-hero {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 24px;
  min-height: 187px;
  padding: 28px 32px;
  border-radius: 14px;
  background: #174543;
  color: #ffffff;
}

.rewards-hero h2 {
  margin: 0 0 10px;
  font-size: 25px;
}

.rewards-hero p {
  margin: 0 0 20px;
  color: #c9d4d1;
  line-height: 22px;
}

.reward-stats {
  display: flex;
  gap: 28px;
}

.reward-stats span {
  display: block;
  color: #91aaa5;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reward-stats strong {
  font-size: 16px;
}

.connect-large {
  align-self: center;
  font-size: 30px;
  font-weight: 800;
}

.simple-side-card {
  min-height: 118px;
  padding: 24px;
  border-radius: 14px;
}

.strategy-card {
  position: relative;
  min-height: 236px;
  margin-top: 24px;
  padding: 28px 24px;
  overflow: hidden;
  border-top: 3px solid #00a890;
  border-radius: 26px;
  background: linear-gradient(120deg, #ffffff 30%, #e5fbf6);
}

.strategy-card.orange {
  border-top-color: #ff9571;
  background: linear-gradient(120deg, #ffffff 30%, #fff0e9);
}

.strategy-card h3 {
  margin: 6px 0 8px;
  font-size: 18px;
}

.strategy-kicker {
  color: #009a83;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.lux-pill {
  position: absolute;
  top: 28px;
  right: 24px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: #00a890;
  font-size: 13px;
  font-weight: 800;
}

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

.dashboard-hero {
  padding: 28px 0 10px;
}

.dashboard-hero h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

.dashboard-hero p {
  margin: 0 0 22px;
  color: #4b5253;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.protocol-card {
  min-height: 154px;
  padding: 22px;
}

.protocol-card h3 {
  margin: 0 0 8px;
}

.bard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 28px;
}

.bard-intro {
  padding-top: 34px;
}

.bard-intro h2 {
  margin: 0 0 16px;
  font-size: 36px;
}

.bard-intro p {
  max-width: 590px;
  color: #3d4546;
  line-height: 24px;
}

.bard-stake-card {
  padding: 24px;
}

.price-card {
  min-height: 180px;
  margin-top: 22px;
  padding: 22px;
}

@media (max-width: 1180px) {
  .app-page,
  .rewards-grid,
  .app-page-grid,
  .bard-hero {
    grid-template-columns: 1fr;
  }

  .center-card,
  .finance-card,
  .wallet-card {
    width: 100%;
  }

  .finance-card {
    margin-top: 24px;
  }

  .finance-card h1 {
    margin: 0 0 32px;
  }
}
