:root {
  color-scheme: dark;
  --bg:#090e1c;
  --panel:#121b2d;
  --line:#28354d;
  --muted:#94a3ba;
  --text:#edf3ff;
  --mint:#8df0d0;
  --danger:#ffaaa9;
  font-family:
    Inter,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse at 10% 0%,
      #15343c65,
      transparent 42%),
    radial-gradient(
      ellipse at 95% 15%,
      #29234c65,
      transparent 42%),
    var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #92ebd4;
  outline-offset: 3px;
}
a {
  color: inherit;
}
button {
  transition:
    background .16s,
    border-color .16s,
    box-shadow .16s,
    transform .16s;
}
::selection {
  background: #69cdb83b;
  color: #f0fff9;
}
[v-cloak] {
  display: none !important;
}
.boot-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
}
.boot-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #31445b;
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.boot-error {
  color: var(--danger);
  overflow-wrap: anywhere;
}
#app:not([v-cloak]) + .boot-screen {
  display: none;
}
.app-header {
  min-height: 74px;
  padding: 12px max(24px, calc((100vw - 1104px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #ffffff10;
  background: #0b111ec9;
  backdrop-filter: blur(16px);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark img {
  width: 42px;
  height: 42px;
}
.brand-copy {
  display: grid;
  gap: 1px;
}
.brand-copy strong {
  font-size: 15px;
  letter-spacing: .2em;
}
.brand-copy small {
  font-size: 9px;
  letter-spacing: .13em;
  color: #8d9ab1;
}
.header-actions {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.wallet-control {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.network-mismatch-tip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 23px;
  padding: 2px 8px;
  border: 1px solid #6b3e50;
  border-radius: 9px;
  background: #241923f5;
  color: #ffc0ca;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}
.network-pill,
.wallet-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 8px 12px;
  border: 1px solid #344158;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
}
.network-pill {
  background: #151d2e;
  color: #a2b1c7;
}
.network-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.network-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8c9ef3;
  flex-shrink: 0;
}
.wallet-button {
  color: #e4fff7;
  background: #163438;
  border-color: #427769;
  font-weight: 600;
}
.language-toggle {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #344158;
  border-radius: 9px;
  background: #111a2a;
  color: #b8c6d9;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}
.language-toggle:hover {
  border-color: #81d9c2;
  color: #e4fff7;
  background: #163438;
}
.wallet-button:hover:not(:disabled) {
  background: #1e4545;
  border-color: #82d9c4;
}
.wallet-button:disabled {
  opacity: 1;
  color: #a5cbbb;
}
.wallet-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef8d99;
  flex-shrink: 0;
}
.wallet-status-dot.online {
  background: #8df0d0;
  box-shadow: 0 0 0 3px #8df0d014;
}
.header-wallet-error {
  position: absolute;
  right: 0;
  top: calc(100% + 9px);
  z-index: 5;
  max-width: 350px;
  padding: 10px 12px;
  border: 1px solid #663648;
  border-radius: 8px;
  background: #301e2d;
  color: var(--danger);
  font-size: 11px;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 30px #0004;
}
.header-wallet-error.below-network-tip {
  top: calc(100% + 56px);
}
main {
  max-width: 1160px;
  margin: 48px auto 0;
  padding: 0 28px;
}
.intro {
  padding: 0 2px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8edcce;
  font-size: 10px;
  letter-spacing: .18em;
}
.eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--mint);
}
.intro h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -.035em;
  text-wrap: balance;
  margin: 17px 0 13px;
}
.intro h1 em {
  font-style: normal;
  color: #98e9d5;
}
.intro p {
  max-width: 640px;
  color: #a1aec2;
  font-size: 13px;
  line-height: 1.9;
  margin: 0;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, .8fr);
  align-items: start;
  gap: 20px;
  margin-top: 28px;
}
.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      #141e32,
      #101829);
  box-shadow: 0 12px 42px #0002;
}
.tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid #26334a;
  border-radius: 11px;
  background: #0b1220;
  margin-bottom: 24px;
}
.tabs button {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #97a5bd;
  font-size: 13px;
  font-weight: 600;
}
.tabs button.active {
  background: #213839;
  border-color: #406660;
  color: #e3fff6;
}
.tabs button:hover:not(:disabled):not(.active) {
  color: #d6e4f7;
  background: #172338;
}
.asset-fields {
  display: grid;
  gap: 17px;
}
.control-group label,
.field-label,
.withdraw-flow > label {
  display: block;
  margin: 0 0 8px;
  color: #b3bfd1;
  font-size: 12px;
  font-weight: 500;
}
.field {
  min-width: 0;
  min-height: 49px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #314058;
  border-radius: 10px;
  background: #0a1120;
  transition: border-color .16s, box-shadow .16s;
}
.field:focus-within {
  border-color: #7ecab9;
  box-shadow: 0 0 0 3px #80d3bf12;
}
.field.invalid {
  border-color: #c17080;
}
.field input,
.field select {
  min-width: 0;
  width: 100%;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}
.field select option {
  background: #131e31;
}
.field input::placeholder,
textarea::placeholder {
  color: #657994;
}
.field-note {
  padding: 0;
}
.field-note textarea,
.note-box textarea {
  display: block;
  width: 100%;
  min-height: 104px;
  resize: vertical;
  padding: 12px;
  border: 1px solid #314058;
  border-radius: 10px;
  background: #0a1120;
  color: #c9e3e1;
  font:
    12px/1.75 ui-monospace,
    Consolas,
    monospace;
  overflow-wrap: anywhere;
}
.field-note textarea {
  border: 0;
  background: transparent;
}
.note-box textarea:focus {
  border-color: #7ecab9;
}
.unit {
  color: #94a3b9;
  font-size: 12px;
}
.balance-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 63px;
  margin-top: -3px;
  padding: 11px 13px;
  border: 1px solid #35524e;
  border-radius: 10px;
  background: #122b2d80;
}
.balance-orb {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 9px;
  background: #8df0d010;
  color: var(--mint);
  font-size: 19px;
}
.balance-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.balance-copy > span {
  font-size: 11px;
  color: #8fa69f;
}
.balance-copy strong {
  color: #d9f4e9;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.balance-copy small {
  font-size: 10px;
  color: var(--danger);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 330px;
}
.balance-unit {
  margin-left: auto;
  color: #a7cfbe;
  font-size: 11px;
  flex-shrink: 0;
}
.denomination-options {
  display: grid;
  grid-template-columns: repeat(var(--option-count,3), minmax(0, 1fr));
  gap: 9px;
}
.denomination-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #314058;
  border-radius: 10px;
  background: #0d1626;
  color: #c9d5e7;
}
.denomination-option strong {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.denomination-option span {
  color: #8c9db6;
  font-size: 10px;
}
.denomination-option.active {
  border-color: #82ccba;
  background: #1a3437;
  color: #edfff8;
  box-shadow: inset 0 0 0 1px #8df0d015;
}
.denomination-option.active span {
  color: #a5d9ca;
}
.denomination-option:hover:not(:disabled) {
  border-color: #76bdaa;
}
.empty-denominations {
  grid-column: 1/-1;
  padding: 14px;
  border: 1px dashed #3a4860;
  border-radius: 10px;
  color: #8a9bb5;
  font-size: 12px;
  text-align: center;
}
.hint {
  color: #8c9bb3;
  font-size: 11px;
  line-height: 1.75;
  margin-top: 8px;
}
.asset-hint {
  margin-top: 10px;
}
.asset-hint span {
  margin: 0 4px;
  color: #4d647c;
}
.hint.field-error {
  color: var(--danger);
}
.primary {
  position: relative;
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 12px 18px;
  border: 1px solid #a3f5da;
  border-radius: 10px;
  background:
    linear-gradient(
      105deg,
      #8de9ca,
      #89d9de);
  color: #092024;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 5px 20px #78ddc80c;
}
.primary:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow: 0 7px 25px #78ddc820;
  transform: translateY(-1px);
}
.button-arrow {
  float: right;
  font-size: 17px;
  line-height: 1.3;
}
.note-box {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #29374e;
  border-radius: 12px;
  background: #0c1424;
}
.note-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.section-kicker {
  color: #83caba;
  font-size: 9px;
  letter-spacing: .14em;
}
.note-heading label {
  display: block;
  margin: 3px 0 0;
  color: #d5e1ef;
  font-size: 13px;
}
.note-lock {
  color: #8a9ab3;
  font-size: 10px;
  white-space: nowrap;
}
.note-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.note-actions button {
  flex: 1;
  min-height: 37px;
  padding: 7px;
  border: 1px solid #35435a;
  border-radius: 8px;
  background: #17243a;
  color: #c8d5e8;
  font-size: 11px;
}
.note-actions button:hover:not(:disabled) {
  border-color: #84c9b7;
  background: #1d3542;
}
.backup-confirm {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  color: #a4b0c5;
  font-size: 11px;
  line-height: 1.7;
  cursor: pointer;
}
.backup-confirm input {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--mint);
}
.deposit-button {
  margin-top: 15px;
}
.withdraw-flow > label:not(:first-child) {
  margin-top: 21px;
}
.withdraw-flow .primary {
  margin-top: 20px;
}
.notice {
  margin-top: 17px;
  padding: 10px 12px;
  border: 1px solid #514735;
  border-radius: 9px;
  background: #332c1b50;
  color: #c1b08e;
  font-size: 11px;
  line-height: 1.8;
}
.proof-message {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #694052;
  border-radius: 9px;
  background: #3c233445;
  color: var(--danger);
  font-size: 11px;
  line-height: 1.7;
}
.proof-message.pending {
  color: #a5b9d9;
  border-color: #344b6a;
  background: #1b2b4450;
}
.toast {
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid #3e5474;
  border-radius: 10px;
  background: #1a2a415e;
  color: #b8cde8;
  overflow-wrap: anywhere;
}
.toast-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 650;
}
.toast p {
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.toast.success {
  border-color: #3e7564;
  background: #14352c65;
  color: #b3e9d1;
}
.toast.error {
  border-color: #794253;
  background: #3c203055;
  color: #ffb8c1;
}
.activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.activity-dot.spinning {
  width: 11px;
  height: 11px;
  border: 2px solid #52647e;
  border-top-color: currentColor;
  background: none;
  animation: spin .8s linear infinite;
}
.side {
  position: sticky;
  top: 22px;
  padding: 23px;
}
.side-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
}
.side-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border: 1px solid #38564f;
  border-radius: 10px;
  background: #17322c;
  color: var(--mint);
  font-size: 19px;
}
.side-heading h2 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
}
.side-heading p {
  margin: 0;
  color: #8fa0b8;
  font-size: 11px;
}
.protocol-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-top: 1px solid #2a364b;
}
.protocol-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--mint);
}
.protocol-dot.blue {
  background: #aaa4ee;
}
.protocol-dot.unavailable {
  background: #d9a365;
}
.protocol-row > div {
  display: grid;
  gap: 3px;
}
.protocol-row strong {
  font-size: 12px;
  font-weight: 600;
}
.protocol-row small {
  color: #91a0b8;
  font-size: 11px;
}
.protocol-check {
  margin-left: auto;
  color: #a8ddc9;
  font-size: 13px;
}
.side-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-top: 3px;
  padding-top: 15px;
  border-top: 1px solid #2a364b;
  font-size: 11px;
  color: #8d9eb7;
}
.side-foot strong {
  color: #c1d0e4;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}
.side-tip {
  margin-top: 17px;
  padding-left: 10px;
  border-left: 2px solid #47756b;
  color: #9eb3b2;
  font-size: 11px;
  line-height: 1.9;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.step {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #243147;
  border-radius: 11px;
  background: #101a2bb0;
}
.step b {
  display: block;
  margin-bottom: 6px;
  color: #9ed7c9;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
}
.step span {
  color: #94a3ba;
  font-size: 11px;
  line-height: 1.8;
}
.footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 23px 0;
  color: #8494ac;
  font-size: 9px;
  letter-spacing: .07em;
}
.footer img {
  width: 20px;
  height: 20px;
  opacity: .8;
}
.footer-note {
  margin-left: auto;
  color: #98a8c1;
  letter-spacing: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 950px) {
  .app-header {
    padding-left: 24px;
    padding-right: 24px;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 16px;
  }
  main {
    margin-top: 36px;
    padding: 0 22px;
  }
  .card {
    padding: 20px;
  }
  .intro h1 {
    font-size: 40px;
  }
  .balance-copy small {
    max-width: 220px;
  }
  .side-heading p {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .side-heading,
  .side-foot,
  .side-tip {
    grid-column: 1/-1;
  }
  .side-heading {
    margin-bottom: 13px;
  }
  .side-tip {
    margin-top: 12px;
  }
  .steps {
    gap: 9px;
  }
  .step {
    padding: 13px 12px;
  }
  .network-pill {
    max-width: 190px;
  }
  .intro h1 {
    font-size: clamp(29px, 6vw, 43px);
  }
}
@media (max-width: 520px) {
  .app-header {
    gap: 10px;
    padding: 12px 15px;
    flex-wrap: wrap;
  }
  .brand-mark img {
    width: 35px;
    height: 35px;
  }
  .brand-mark {
    gap: 8px;
  }
  .brand-copy strong {
    font-size: 13px;
  }
  .brand-copy small {
    font-size: 8px;
    letter-spacing: .08em;
  }
  .header-actions {
    gap: 6px;
  }
  .network-pill {
    max-width: 105px;
    min-height: 35px;
    font-size: 10px;
    padding: 7px 8px;
  }
  .wallet-button {
    min-height: 35px;
    padding: 7px 9px;
    font-size: 10px;
  }
  .language-toggle {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 10px;
  }
  .header-wallet-error {
    max-width: min(320px, calc(100vw - 30px));
  }
  main {
    margin-top: 29px;
    padding: 0 15px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: .13em;
  }
  .intro h1 {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.32;
  }
  .intro p {
    font-size: 12px;
  }
  .layout {
    margin-top: 23px;
    gap: 14px;
  }
  .card {
    padding: 17px;
    border-radius: 13px;
  }
  .tabs {
    margin-bottom: 20px;
  }
  .denomination-options {
    grid-template-columns: repeat(var(--mobile-option-count,2), minmax(0, 1fr));
    gap: 8px;
  }
  .note-box {
    padding: 13px;
  }
  .balance-copy small {
    max-width: 210px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #243147;
    border-radius: 11px;
    overflow: hidden;
  }
  .step {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #243147;
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 13px;
  }
  .step:last-child {
    border-bottom: 0;
  }
  .step b {
    margin: 0;
    flex-shrink: 0;
  }
  .step span {
    font-size: 11px;
  }
  .footer {
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.7;
  }
  .footer-note {
    font-size: 10px;
    letter-spacing: 0;
  }
  .side {
    gap: 0 14px;
  }
  .side-heading p {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .network-pill {
    display: none;
  }
  .brand-copy small {
    font-size: 7px;
  }
  .intro h1 {
    font-size: 27px;
  }
  .side {
    grid-template-columns: 1fr;
  }
  .side-heading,
  .side-foot,
  .side-tip {
    grid-column: 1;
  }
  .footer-note {
    flex-basis: 100%;
    margin-left: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .primary:hover:not(:disabled) {
    transform: none;
  }
}
.network-picker {
  max-width: 220px;
  padding-right: 8px;
}
.network-picker select {
  min-width: 0;
  max-width: 100%;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #bac9df;
  font: inherit;
  cursor: pointer;
  outline-offset: 3px;
}
.network-picker option {
  background: #151f32;
  color: #e5edf8;
}
.network-picker select:disabled {
  cursor: not-allowed;
  opacity: .65;
}
.network-notice {
  margin-top: 21px;
  padding: 12px 15px;
  border: 1px solid #5b4d32;
  border-radius: 10px;
  background: #342e204f;
  color: #dfc795;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.network-notice.unsupported {
  border-color: #6b3e50;
  background: #39223166;
  color: #ffc0ca;
}
@media (max-width: 520px) {
  .network-picker {
    max-width: 125px;
    padding: 7px 6px;
  }
  .network-picker select {
    font-size: 10px;
  }
  .network-notice {
    margin-top: 16px;
    padding: 10px 12px;
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .network-picker {
    display: flex;
    max-width: 120px;
  }
  .brand-copy small {
    display: none;
  }
  .brand-mark img {
    width: 28px;
    height: 28px;
  }
  .brand-copy strong {
    font-size: 11px;
    letter-spacing: .12em;
  }
  .app-header {
    gap: 6px;
    padding: 10px;
  }
  .header-actions {
    gap: 5px;
  }
  .wallet-button {
    font-size: 9px;
    padding: 7px;
  }
  .network-picker i {
    display: none;
  }
}
