:root {
  --ink: #0b1412;
  --surface: #13211c;
  --line: #283a32;
  --lime: #baf477;
  --text: #f1f6ee;
  --muted: #a4b7ab;
  --rise: #79e0ab;
  --fall: #f29786;
  --dim: #35483e;
}
*,*::before,*::after {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  background: var(--ink);
}
body {
  margin: 0;
  color: var(--text);
  font: 14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
button,input {
  font: inherit;
}
button {
  color: inherit;
  border: 0;
  cursor: pointer;
}
button:focus-visible,input:focus-visible,a:focus-visible,canvas:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
b,strong {
  font-weight: 650;
}
p,h1,h2,h3 {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none!important;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.number {
  font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}
.muted {
  color: var(--muted);
}
.positive {
  color: var(--rise);
}
.negative {
  color: var(--fall);
}
.app {
  position: relative;
  min-height: 100dvh;
  width: min(100%,460px);
  margin: auto;
  background: var(--ink);
  display: flex;
  flex-direction: column;
}
.app-header {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #172720;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: 1;
}
.mark {
  display: block;
  flex: none;
}
.wallet-top {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: #14221c;
  border-radius: 22px;
  padding: 5px 9px 5px 7px;
  font-size: 11px;
  font-weight: 650;
  min-height: 35px;
}
.wallet-top .icon {
  width: 13px;
  height: 13px;
}
.chain {
  border-radius: 50%;
  background: #322e1a;
  color: #ffce64;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.chain .icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}
.network-bar {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 18px;
  background: #12211a;
  color: #b7cabb;
  font-size: 10px;
  letter-spacing: .012em;
}
.network-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
}
.network-indicator::before,.dot {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}
.content {
  padding: 17px 18px 16px;
  flex: 1;
}
.screen {
  display: grid;
  gap: 14px;
}
.heading {
  min-width: 0;
}
.heading h1 {
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -.05em;
  font-weight: 720;
}
.heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
}
.section-top h2 {
  font-size: 14px;
  letter-spacing: .005em;
}
.link {
  color: var(--lime);
  background: none;
  white-space: nowrap;
  padding: 4px 0;
  font-size: 11px;
}
.link .icon {
  width: 13px;
  height: 13px;
}
.kline {
  padding: 14px 12px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.asset-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.asset-meta b {
  font-size: 14px;
}
.asset-meta small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.market-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--rise);
  font-size: 10px;
  white-space: nowrap;
}
.market-status .dot {
  width: 5px;
  height: 5px;
  background: var(--rise);
}
.quote {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.quote strong {
  font-size: 33px;
  line-height: 1.12;
  font-weight: 650;
}
.quote .muted {
  font-size: 11px;
}
.change {
  padding: 2px 6px;
  border-radius: 5px;
  background: #213b2d;
  font-size: 10px;
  margin-left: auto;
  color: var(--rise);
}
.segmented {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}
.segmented button {
  font-size: 10px;
  min-height: 29px;
  padding: 3px 9px;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-weight: 620;
}
.segmented button.active {
  background: #2a3c32;
  color: var(--text);
}
.chart-wrap {
  position: relative;
  margin-top: 3px;
}
.chart {
  width: 100%;
  height: 157px;
  display: block;
}
.chart-detail {
  position: absolute;
  left: 5px;
  top: 5px;
  background: #0d1913;
  border: 1px solid #395142;
  padding: 3px 6px;
  border-radius: 4px;
  color: #dfede2;
  font-size: 10px;
  pointer-events: none;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  padding: 10px 0;
}
.metric {
  padding: 0 8px 0 10px;
  min-width: 0;
}
.metric:not(:first-child) {
  border-left: 1px solid var(--line);
}
.metric small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.metric b {
  display: block;
  font-size: 17px;
  margin-top: 1px;
}
.metrics-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
}
.metrics-title strong {
  color: var(--text);
  font-size: 13px;
}
.button {
  height: 42px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  background: var(--lime);
  color: #192714;
  white-space: nowrap;
  padding: 0 12px;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.outline {
  border: 1px solid var(--line);
  background: #18271f;
  color: var(--text);
}
.button.compact {
  height: 34px;
  font-size: 11px;
  border-radius: 7px;
}
.row-list {
  display: grid;
}
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.list-row+.list-row {
  border-top: 1px solid #22342b;
}
.list-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.row-icon {
  width: 32px;
  height: 32px;
  background: #1b3326;
  color: var(--rise);
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.row-icon .icon {
  width: 16px;
  height: 16px;
}
.row-icon.sell {
  background: #372823;
  color: var(--fall);
}
.row-icon.direct {
  color: var(--lime);
  background: #293722;
}
.row-text {
  font-size: 12px;
  font-weight: 650;
}
.row-sub {
  color: var(--muted);
  font-size: 10px;
  margin-top: 1px;
}
.row-end {
  text-align: right;
  white-space: nowrap;
}
.row-end b {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}
.summary {
  background: #baf477;
  border-radius: 15px;
  padding: 15px 15px 13px;
  color: #192813;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.summary::before,.summary::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  width: 210px;
  height: 210px;
  right: -39px;
  top: -100px;
  border: 1px solid #497e35;
  border-radius: 50%;
  opacity: .27;
}
.summary::after {
  width: 180px;
  height: 180px;
  right: -28px;
  top: -86px;
}
.summary .summary-title {
  font-size: 12px;
  font-weight: 650;
}
.summary .summary-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.summary .summary-amount strong {
  font-size: 38px;
  line-height: 1.22;
}
.summary .summary-amount span {
  font-size: 13px;
  font-weight: 650;
}
.summary .summary-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
}
.summary .summary-actions small {
  font-size: 11px;
  color: #304a26;
}
.summary .summary-actions button {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 7px;
  background: #1b2e17;
  color: #eaf9df;
  padding: 6px 9px;
  font-size: 11px;
  min-height: 32px;
}
.summary .summary-actions .icon {
  width: 14px;
  height: 14px;
}
.eligibility {
  padding: 12px 12px 10px;
}
.pill {
  font-size: 10px;
  line-height: 1.45;
  background: #253b2d;
  color: #a8edbb;
  padding: 3px 6px;
  border-radius: 5px;
  white-space: nowrap;
  display: inline-block;
}
.pill.amber {
  background: #3a3321;
  color: #f6d888;
}
.pill.sold {
  background: #422d28;
  color: #ffbdae;
}
.eligibility-label {
  display: block;
}
.eligibility .metric-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.metric-row b {
  font-size: 25px;
  line-height: 1.2;
}
.metric-row small {
  font-size: 11px;
}
.eligibility p {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 6px;
}
.schedule {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.schedule .row-icon {
  width: 34px;
  height: 34px;
}
.schedule .schedule-main {
  min-width: 0;
}
.schedule .schedule-main p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.schedule .schedule-rate {
  margin-left: auto;
  font-size: 20px;
  white-space: nowrap;
  color: var(--lime);
}
.invite-feature {
  background: #182a20;
  border: 1px solid #324b3b;
  padding: 14px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.invite-feature::after {
  content: "";
  position: absolute;
  right: -16px;
  top: -65px;
  width: 140px;
  height: 140px;
  border: 1px solid #45614f;
  transform: rotate(-22deg);
  z-index: -1;
}
.invite-feature h2 {
  font-size: 15px;
}
.invite-feature .invite-value {
  margin-top: 4px;
  font-size: 34px;
  line-height: 1.1;
  color: var(--lime);
}
.invite-feature p {
  font-size: 11px;
  color: #bdd0c2;
  margin: 5px 0 10px;
}
.invite-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.invite-locked {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #385443;
}
.invite-locked .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #f6d888;
}
.invite-locked strong {
  color: #f6d888;
  font-size: 12px;
}
.invite-locked p {
  margin: 2px 0 0;
}
.invite-code {
  color: #bdcfc1;
  border: 1px solid #465f50;
  height: 34px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  font-size: 11px;
  padding: 0 9px;
}
.note {
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}
.note .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--lime);
}
.note.warning {
  color: #dfcf9c;
  border-color: #493f28;
  background: #242116;
}
.note.warning .icon {
  color: #e5c574;
}
.form {
  display: grid;
  gap: 10px;
}
.form-field {
  display: grid;
  gap: 4px;
}
.form-field>span:first-child {
  font-size: 11px;
  font-weight: 650;
}
.field {
  display: flex;
  align-items: center;
  position: relative;
  border: 1px solid #334941;
  background: #17251f;
  border-radius: 8px;
  min-height: 39px;
  padding: 0 9px;
  gap: 4px;
}
.field .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.field input {
  color: var(--text);
  caret-color: var(--lime);
  background: none;
  border: none;
  padding: 7px 0;
  min-width: 0;
  width: 100%;
  font-size: 12px;
  outline: none;
}
.field:focus-within {
  border-color: #a2d86e;
}
.field input::placeholder {
  color: #95a89f;
}
.field input:focus-visible {
  outline: none;
}
.field .mono {
  font-family: ui-monospace,monospace;
  font-size: 11px;
}
.field button {
  background: none;
  color: var(--lime);
  font-size: 11px;
  white-space: nowrap;
  padding: 0;
}
.field-meta {
  font-size: 10px;
  color: #aabeb2;
}
.field-error {
  color: var(--fall);
  font-size: 11px;
}
.wallet-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
}
.wallet-summary .number {
  font-size: 23px;
}
.wallet-summary .row-sub {
  margin: 0;
}
.wallet-summary .row-icon {
  background: #263d2c;
  color: var(--lime);
  width: 37px;
  height: 37px;
}
.network {
  padding: 5px 8px;
  background: #283225;
  color: #e4dfb4;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 10px;
}
.balance-foot {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 10px;
  color: var(--muted);
}
.nav {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  width: 100%;
  padding: 6px 9px max(6px,env(safe-area-inset-bottom));
  min-height: 57px;
  border-top: 1px solid #2a3d33;
  background: #101b16;
  gap: 3px;
}
.nav a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-height: 42px;
  border-radius: 7px;
  background: none;
  color: #9caf9f;
  font-size: 10px;
}
.nav a[aria-current=page] {
  background: #233a29;
  color: var(--lime);
}
.nav .icon {
  width: 17px;
  height: 17px;
}
.toast {
  position: fixed;
  z-index: 5;
  left: 50%;
  bottom: 71px;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  border: 1px solid #425b48;
  background: #24382c;
  color: #e7f5e7;
  box-shadow: 0 8px 22px #070c0990;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
}
.dialog {
  width: min(390px,calc(100% - 30px));
  padding: 15px;
  border: 1px solid #3d5849;
  border-radius: 14px;
  background: #18271f;
  color: var(--text);
  box-shadow: 0 12px 55px #0009;
}
.dialog::backdrop {
  background: #0009;
}
.dialog .section-top {
  margin-bottom: 9px;
}
.dialog p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}
.dialog code {
  display: block;
  overflow-wrap: anywhere;
  color: #e0f1e4;
  font-size: 11px;
  padding: 8px 0;
}
.dialog .button {
  width: 100%;
  margin-top: 9px;
}
.dialog .x {
  background: none;
  color: var(--muted);
  padding: 0;
  height: 24px;
  width: 24px;
}
.dialog dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 7px 10px;
  font-size: 12px;
}
.dialog dt {
  color: var(--muted);
}
.dialog dd {
  margin: 0;
  overflow-wrap: anywhere;
}
@media(min-width:600px) {
  html {
    background: #12221a;
  }
  .app {
    border-inline: 1px solid #243b2e;
  }
}
@media(max-width:1200px) {
  .board {
    padding: 28px;
  }
  .board-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:620px) {
  .board {
    padding: 20px 14px;
  }
  .board-grid {
    grid-template-columns: 1fr;
  }
  .board-intro {
    display: block;
  }
  .board-intro h1 {
    font-size: 35px;
  }
  .board-intro .board-note {
    text-align: left;
    margin-top: 9px;
  }
  .board-footer {
    flex-direction: column;
  }
}
@media(max-width:345px) {
  .app-header,.network-bar {
    padding-inline: 12px;
  }
  .content {
    padding-inline: 12px;
  }
  .screen {
    gap: 11px;
  }
  .metric {
    padding-inline: 7px;
  }
  .metric b {
    font-size: 15px;
  }
  .quote strong {
    font-size: 30px;
  }
  .summary .summary-amount strong {
    font-size: 34px;
  }
  .network-bar {
    font-size: 9px;
  }
}
@media(prefers-reduced-motion:no-preference) {
  button {
    transition: background-color .14s,color .14s;
  }
  button:hover:not(:disabled) {
    filter: brightness(1.09);
  }
}
.embed .field input.mono {
  font-size: 10.5px;
}
.icon-library {
  position: absolute;
}
.nav a {
  min-height: 44px;
}
.wallet-top {
  min-height: 40px;
}
.button.compact {
  min-height: 38px;
}
.mini-stats strong {
  overflow-wrap: anywhere;
}
.chart-detail {
  max-width: calc(100% - 10px);
}
.chart-state {
  min-height: 140px;
  display: grid;
  place-content: center;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.action-row .button {
  flex: 1;
}
.button[aria-disabled="true"] {
  opacity: .6;
  cursor: default;
}
.note.retry {
  display: grid;
  justify-items: start;
}
.data-card {
  padding: 12px;
}
.data-card > .list-row:last-child {
  padding-bottom: 0;
}
.data-card > .button {
  width: 100%;
  margin-top: 10px;
}
.detail-label {
  color: var(--muted);
  font-size: 11px;
}
.wrap {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.address-code {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.input-copy {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink);
  color: var(--text);
}
.delayed {
  color: #f0d795;
}
.withdraw-submit {
  width: 100%;
}
.dialog {
  max-height: min(78dvh, 630px);
  overflow-y: auto;
}
.dialog a:not(.button) {
  color: var(--lime);
}
.dialog-list {
  margin: 4px 0;
  padding: 0;
  list-style: none;
}
.dialog-list li + li {
  border-top: 1px solid var(--line);
}
#account-trades-list .row-end {
  max-width: 55%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.nav a {
  text-decoration: none;
}
.dapp-empty {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.numeral {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.summary-actions .summary-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 5px 9px;
  border-radius: 7px;
  white-space: nowrap;
  font-size: 11px;
  color: #edf9e7;
  background: #1b2e17;
}
.summary-actions .summary-link .icon {
  width: 14px;
  height: 14px;
}
.field select {
  width: 100%;
  min-width: 0;
  padding: 7px 0;
  color: var(--text);
  border: 0;
  background: #17251f;
  font: inherit;
  font-size: 12px;
}
.field select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.data-card .form {
  margin-top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.change.negative {
  color: var(--fall);
  background: #392a25;
}
.metric .number {
  overflow-wrap: anywhere;
}
.dialog-error {
  margin-top: 7px;
  color: var(--fall);
}
