:root {
  color-scheme:dark;
  --bg:#050608; --panel:#0b0d10; --panel2:#090b0e; --border:#252a31; --line:#252a31;
  --text:#f2f3f6; --muted:#9da4ae; --soft:#c7cdd5; --accent:#e5e8ee; --green:#93c9ab; --red:#f0a7a4;
  --max:1240px; --radius:8px; --mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
  font-family: "Helvetica Neue", "Nimbus Sans", Arial, system-ui, sans-serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--text); font-size:16px; line-height:1.55; }
body,input,button { font-family:inherit; }
button,input { font-size:inherit; }
button { cursor:pointer; color:inherit; background:none; border:1px solid transparent; }
button:disabled { cursor:not-allowed; opacity:.5; }
a { text-decoration:none; color:inherit; }
a,button,input { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
[hidden] { display:none!important; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-weight:500; line-height:1.05; letter-spacing:-.05em; }
p { color:var(--muted); }
.mono { font-family:var(--mono); font-size:13px; font-variant-numeric:tabular-nums; }
.muted { color:var(--muted); }
.break { overflow-wrap:anywhere; }
.tag,.badge,.testnet { color:#c3c9d1; border:1px solid #39414a; border-radius:3px; padding:5px 10px; font-size:12px; letter-spacing:.045em; white-space:nowrap; font-weight:500; }
.dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#79818c; }
.dot.online { background:var(--green); }
.dot.offline { background:var(--red); }
.primary,.outline,.button {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:600; font-size:14px; min-height:44px; line-height:1.3; white-space:nowrap;
  border-radius:4px; padding:12px 20px; border:1px solid transparent;
  transition:background .18s,border .18s,color .18s;
}
.primary,.button.primary { background:#e9ecf1; border-color:#e9ecf1; color:#090c10; }
.primary:hover:not(:disabled),.button.primary:hover { background:#c5cdd9; border-color:#c5cdd9; }
.outline,.button { background:rgba(10,12,15,.84); border-color:#3b424c; color:#e1e5eb; }
.outline:hover:not(:disabled),.button:hover { background:#171c23; border-color:#6d7785; }
.full { width:100%; margin-top:16px; }
.header,.site-header { height:78px; display:flex; align-items:center; justify-content:space-between; gap:22px; padding:0 max(30px,calc((100% - var(--max))/2)); border-bottom:1px solid var(--border); background:#050608; position:relative; z-index:5; }
.brand { display:flex; align-items:center; gap:3px; font-size:21px; line-height:1; font-weight:650; letter-spacing:.135em; white-space:nowrap; }
.brand img { width:57px; height:57px; object-fit:contain; mix-blend-mode:screen; }
.brand-sub,.brand small { display:block; font-weight:400; font-size:10px; letter-spacing:.19em; color:#aeb3bd; margin-top:6px; }
.header nav,.site-header nav { display:flex; align-items:center; gap:7px; }
.nav { display:inline-block; padding:10px 13px; color:#a7acb6; font-size:14px; white-space:nowrap; }
.nav:hover,.nav.active { color:#fff; }
.nav.active { box-shadow:inset 0 -1px #d9e0ec; }
.header-label,.wallet-area { display:flex; align-items:center; gap:9px; font-size:13px; color:var(--muted); white-space:nowrap; }
.header-label i { width:7px; height:7px; border-radius:50%; background:#a2acba; }
.wallet-area .outline { min-height:38px; padding:9px 13px; }
.footer,.site-footer,footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:22px; max-width:var(--max); padding:28px 0; border-top:1px solid var(--border); margin:0 auto; font-size:13px; color:var(--muted); }
.footer-brand { display:flex; align-items:center; gap:4px; color:#eee; font-size:14px; font-weight:600; }
.footer-brand img { width:40px; height:40px; mix-blend-mode:screen; object-fit:contain; }
.footer-nav { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.footer-nav a:hover { color:#fff; }
.footer-disclaimer { font-size:12px; }
@media(max-width:1290px){.footer,.site-footer,footer{margin:0 28px;}}
@media(max-width:880px){
  .header,.site-header{height:auto;min-height:76px;padding:8px 19px;gap:7px;flex-wrap:wrap;}
  .brand img{width:49px;height:49px}.brand{font-size:18px}
  .header nav,.site-header nav{order:3;width:100%;justify-content:space-between;gap:2px;}
  .nav{font-size:13px;padding:10px 8px;}
  .header-label,.wallet-area{font-size:12px}
  .hide-small{display:none}
  .footer,.site-footer,footer{margin:0 20px;gap:12px;align-items:start}
}
@media(max-width:390px){.header,.site-header{padding:8px 12px}.nav{font-size:12px;padding:8px 6px}.primary,.outline{padding:11px 14px}.brand{font-size:17px}.brand img{width:43px;height:43px}.footer,.site-footer,footer{margin:0 15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
