:root {
  --bg: #070b16;
  --bg-2: #0c1224;
  --panel: #10182c;
  --panel-2: #162038;
  --line: #243154;
  --line-hot: #3b82f6;
  --text: #e8eefc;
  --muted: #8b9bb8;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --cyan: #22d3ee;
  --gold: #f5c542;
  --green: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --violet: #c4b5fd;
  --violet-2: #8b5cf6;
  --ok: #10b981;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --r: 16px;
  --font: "Sora", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font); min-height: 100%; }
body { background:
  radial-gradient(1200px 500px at 10% -10%, rgba(37,99,235,.18), transparent 50%),
  radial-gradient(900px 400px at 90% 0%, rgba(34,211,238,.08), transparent 45%),
  var(--bg);
}
a { color: var(--cyan); text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7,11,22,.78);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #06101f; border: 1px solid #1d4ed8; box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 12px; }
.pager button { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 12px; }
.pager button.on, .pager button:hover { border-color: var(--blue-2); color: #fff; }
#walletDot.off { background: var(--muted); box-shadow: none; }
.brand-name { line-height: 1.15; }
.brand-name .bit { color: var(--blue-2); font-weight: 700; letter-spacing: .2px; font-size: 18px; }
.brand-name .rest { color: var(--text); font-weight: 500; font-size: 15px; }
.brand-name .brand-sub { display: block; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.3; margin: 2px 0 3px; }
.brand-name small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
nav.main { display: flex; gap: 6px; margin-left: 10px; flex-wrap: wrap; }
nav.main a, nav.main button.linkish {
  background: transparent; border: 1px solid transparent; color: var(--muted);
  padding: 8px 12px; border-radius: 10px; cursor: pointer; font-size: 13.5px;
}
nav.main a:hover, nav.main button.linkish:hover, nav.main a.active, nav.main button.linkish.active {
  color: var(--text); border-color: var(--line); background: var(--panel);
}
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; flex-shrink: 0; padding: 0;
}
.menu-btn:hover { border-color: var(--blue-2); }
.menu-btn i {
  display: block; width: 20px; height: 2.5px;
  background: var(--text); border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.menu-btn-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.chip {
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  border-radius: 999px; padding: 6px 10px; font-size: 12px; display: inline-flex; gap: 6px; align-items: center;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.btn {
  border: 1px solid var(--line-hot); background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  color: white; border-radius: 12px; padding: 10px 14px; cursor: pointer; font-weight: 600; font-size: 13.5px;
  box-shadow: 0 8px 20px rgba(37,99,235,.28);
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: var(--panel); color: var(--text); border-color: var(--line); box-shadow: none; }
.btn.gold { background: linear-gradient(180deg, #f5c542, #d4a017); border-color: #b45309; color: #1a1203; }
.btn.danger { background: linear-gradient(180deg, #fb7185, #e11d48); border-color: #9f1239; }
.btn.ok { background: linear-gradient(180deg, #34d399, #059669); border-color: #047857; }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.btn.sm { padding: 7px 10px; font-size: 12px; border-radius: 9px; }

/* Hero / pages */
.page { padding: 28px 0 80px; display: none; }
.page.on { display: block; }
.hero {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center;
  padding: 18px 0 10px;
}
.kicker { color: var(--cyan); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
h1 { font-size: 42px; line-height: 1.12; margin: 8px 0 12px; }
h1 span { color: var(--blue-2); }
.lede { color: var(--muted); font-size: 16px; max-width: 560px; }
.hero-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px;
}
.stat b { display: block; font-size: 22px; color: var(--cyan); }
.stat span { color: var(--muted); font-size: 12px; }

.card {
  background: linear-gradient(180deg, rgba(16,24,44,.94), rgba(12,18,36,.94));
  border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow);
}
.card.hot { border-color: rgba(59,130,246,.55); box-shadow: 0 0 0 1px rgba(59,130,246,.18), var(--shadow); }
.section-h { display: flex; justify-content: space-between; align-items: flex-end; margin: 8px 0 14px; gap: 12px; }
.section-h h2 { font-size: 22px; }
.section-h p { color: var(--muted); font-size: 13px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.feature h3 { font-size: 15px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.tag { display: inline-block; font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* Forms */
label { display: block; font-size: 12px; color: var(--muted); margin: 12px 0 6px; }
input[type=text], input[type=number], input[type=datetime-local], input[type=url], select, textarea {
  width: 100%; background: #0a1120; border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 11px 12px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.help { font-size: 12px; color: var(--muted); margin-top: 6px; }
.warn { background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.35); color: #fde68a; padding: 10px 12px; border-radius: 12px; font-size: 13px; }
.danger-box { background: rgba(225,29,72,.1); border: 1px solid rgba(251,113,133,.4); color: #fecdd3; padding: 12px; border-radius: 12px; font-size: 13px; }
.ok-box { background: rgba(16,185,129,.08); border: 1px solid rgba(52,211,153,.35); color: #a7f3d0; padding: 12px; border-radius: 12px; font-size: 13px; }

.steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 120px; padding: 10px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); font-size: 12px; color: var(--muted);
}
.step.on { border-color: var(--blue-2); color: var(--text); background: rgba(37,99,235,.12); }
.step b { display: block; color: var(--cyan); font-size: 11px; }

.chain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chain-opt {
  border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 10px;
  cursor: pointer; text-align: left; color: var(--text);
}
.chain-opt.on { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(34,211,238,.2); }
.chain-opt small { display: block; color: var(--muted); font-size: 11px; }

.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-opt { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 14px; cursor: pointer; }
.type-opt.on { border-color: var(--gold); }
.type-opt h3 { font-size: 14px; margin-bottom: 4px; }

/* Tables */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.search { flex: 1; min-width: 220px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line); }
td { padding: 12px 8px; border-bottom: 1px solid rgba(36,49,84,.7); vertical-align: middle; }
tr:hover td { background: rgba(37,99,235,.06); }
.mono { font-family: var(--mono); font-size: 12px; }
.badge { font-size: 11px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); }
.badge.lock { color: #93c5fd; border-color: #1d4ed8; background: rgba(37,99,235,.15); }
.badge.soon { color: #fde68a; border-color: #b45309; background: rgba(245,158,11,.12); }
.badge.open { color: #a7f3d0; border-color: #047857; background: rgba(16,185,129,.12); }
.badge.done { color: var(--muted); }
.badge.vest { color: #e9d5ff; border-color: #6d28d9; background: rgba(109,40,217,.15); }
.badge.pend { color: #fdba74; border-color: #c2410c; }

/* Lock detail */
.detail-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 16px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 12px; font-size: 13px; }
.kv i { color: var(--muted); font-style: normal; }
.history { list-style: none; }
.history li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.qr { background: #ffffff; padding: 14px; border-radius: 12px; display: inline-block; line-height: 0; }
.qr img, .qr canvas, .qr table { width: 240px !important; height: 240px !important; image-rendering: pixelated; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.62); display: none; align-items: center; justify-content: center; z-index: 80; padding: 20px; }
.modal-bg.on { display: flex; }
.modal { width: min(480px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-social { display: flex; align-items: center; gap: 10px; }
.foot-social a {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--panel);
}
.foot-social a:hover { border-color: var(--blue-2); color: #fff; background: var(--panel-2); }
.foot-social svg { width: 16px; height: 16px; display: block; }

@media (max-width: 900px) {
  .hero, .detail-grid, .grid-3, .grid-2, .row, .type-grid, .chain-grid { grid-template-columns: 1fr; }
  nav.main { display: none; }
  h1 { font-size: 30px; }
  .statgrid { grid-template-columns: 1fr 1fr; }
}
.toast {
  position: fixed; right: 16px; bottom: 16px; background: var(--panel-2); border: 1px solid var(--line);
  padding: 12px 14px; border-radius: 12px; display: none; z-index: 90; max-width: 360px;
}
.toast.on { display: block; }
.hidden { display: none !important; }
.date-wrap { display: flex; gap: 8px; align-items: center; }
.date-wrap input[type=datetime-local] { flex: 1; min-height: 44px; cursor: pointer; color-scheme: dark; }
.cal-pop {
  position: absolute; z-index: 70; margin-top: 6px; width: min(320px, 92vw);
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow);
}
.cal-pop .cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid b, .cal-grid button { text-align: center; font-size: 12px; padding: 6px 0; border-radius: 8px; }
.cal-grid button { background: #0a1120; border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.cal-grid button.on { background: var(--blue); border-color: var(--cyan); }
.cal-grid button:disabled { opacity: .35; cursor: default; }
.cal-time { display: flex; gap: 8px; margin-top: 10px; }
.progress { height: 8px; background: #0a1120; border-radius: 99px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.code { font-family: var(--mono); background: #0a1120; border: 1px solid var(--line); padding: 10px; border-radius: 10px; font-size: 12px; overflow: auto; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .mobile-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    overflow: visible;
    padding: 10px 0 14px;
    align-items: center;
  }
  .mobile-nav a {
    color: var(--violet);
    border: 1px solid rgba(139, 92, 246, .55);
    background: rgba(139, 92, 246, .12);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    line-height: 1.2;
  }
  .mobile-nav a.active,
  .mobile-nav a:hover {
    color: #f5f3ff;
    background: rgba(139, 92, 246, .38);
    border-color: var(--violet-2);
  }
}

.docs-strip {
  border-bottom: 1px solid var(--line);
  background: rgba(16, 24, 44, .92);
}
.docs-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  flex-wrap: wrap;
  padding: 8px 0;
  font-size: 13px;
}
.docs-strip-inner a {
  color: var(--gold);
  font-weight: 600;
}
.docs-strip-inner a:hover { color: #ffe08a; }
.live-strip {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(212,175,55,.12), rgba(16,24,44,.95) 28%, rgba(16,24,44,.95));
}
.live-strip-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,.45);
  background: rgba(212,175,55,.08);
  border-radius: 999px;
  padding: 5px 10px 5px 8px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61,220,132,.7);
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); }
  70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); }
}
.live-strip-inner p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
  min-width: 220px;
}
.live-strip-inner strong { color: var(--text); font-weight: 600; }
.guide-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 28px 0 60px;
  align-items: start;
}
.guide-toc {
  position: sticky;
  top: 132px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 14px;
  max-height: calc(100vh - 160px);
  overflow: auto;
}
.guide-toc h3 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.guide-toc a { display: block; color: var(--text); font-size: 13px; padding: 6px 8px; border-radius: 8px; }
.guide-toc a:hover, .guide-toc a:focus { background: var(--panel-2); color: var(--gold); }
.guide-article h1 { font-size: 32px; margin: 0 0 10px; }
.guide-article h2 { font-size: 22px; margin: 36px 0 10px; color: var(--gold); }
.guide-article h3 { font-size: 16px; margin: 22px 0 8px; }
.guide-article p, .guide-article li { color: var(--muted); line-height: 1.65; }
.guide-article p { margin: 0 0 12px; }
.guide-article ul, .guide-article ol { margin: 0 0 14px 20px; }
.guide-article li { margin: 0 0 6px; }
.guide-article .lede { color: var(--text); font-size: 17px; }
.guide-article .mono { font-family: var(--mono); font-size: 12px; word-break: break-all; }
.step-ol { counter-reset: step; list-style: none; margin-left: 0; }
.step-ol li {
  position: relative;
  padding: 12px 12px 12px 48px;
  margin-bottom: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
}
.step-ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px; top: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.callout {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0 16px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}
.callout.warn { border-color: #92400e; background: rgba(251, 191, 36, .08); }
.callout.ok { border-color: #065f46; background: rgba(16, 185, 129, .08); }
.callout.danger { border-color: #9f1239; background: rgba(251, 113, 133, .08); }
.api-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.api-side {
  position: sticky; top: 92px;
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 14px;
}
.api-side h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 12px 0 8px; }
.api-side h4:first-child { margin-top: 0; }
.api-side a { display: block; color: var(--muted); font-size: 13px; padding: 7px 8px; border-radius: 8px; }
.api-side a:hover, .api-side a:focus { color: var(--text); background: var(--panel-2); }
.api-ep { scroll-margin-top: 96px; border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 18px 18px 8px; margin-bottom: 16px; }
.api-ep h3 { font-size: 18px; margin: 8px 0 10px; }
.api-path { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; margin-bottom: 10px; }
.verb { font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: #065f46; color: #d1fae5; }
.api-ep p, .api-guide p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-bottom: 10px; }
.api-ep table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0 14px; }
.api-ep th, .api-ep td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.api-ep th { color: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.api-try { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }
.api-try input { flex: 1; min-width: 180px; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 9px 10px; font-family: var(--mono); font-size: 12px; }
.api-guide { margin-top: 8px; }
@media (max-width: 860px) {
  .api-layout { grid-template-columns: 1fr; }
  .api-side { position: static; }
}

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; max-height: none; }
}

/* Main menu — overlay drawer, never a permanent left tab */
.rail-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.site-rail {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 70;
  width: min(280px, 86vw);
  background: rgba(10, 16, 32, .98);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform .2s ease;
  overflow: auto;
  padding: 22px 12px 28px;
  box-shadow: var(--shadow);
}
.site-rail .rail-kicker {
  color: var(--muted); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; padding: 4px 8px 10px;
}
.site-rail a {
  display: block; color: var(--text);
  font-size: 13.5px; line-height: 1.25;
  padding: 10px 12px; border-radius: 8px; margin-bottom: 2px;
}
.site-rail a:hover, .site-rail a.on {
  background: var(--panel); color: #fff;
}
.site-rail a.on { color: var(--cyan); }
.site-rail .rail-split {
  height: 1px; background: var(--line); margin: 10px 8px;
}
.rail-toggle:checked ~ .site-rail { transform: translateX(0); }
.rail-scrim {
  display: none; position: fixed; inset: 0; z-index: 65;
  background: rgba(0,0,0,.45);
}
.rail-toggle:checked ~ .rail-scrim { display: block; }
.rail-toggle:checked ~ .topbar .menu-btn i:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.rail-toggle:checked ~ .topbar .menu-btn i:nth-child(2) { opacity: 0; }
.rail-toggle:checked ~ .topbar .menu-btn i:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
@media (max-width: 900px) {
  .top-actions {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-items: end;
    gap: 8px 10px;
  }
  .menu-btn {
    grid-column: 2;
    grid-row: 1;
    width: 52px; height: 52px;
    border-width: 2px;
  }
  .menu-btn i { width: 24px; height: 3.5px; }
  .chip { display: none; }
  #btnConnect, #btnDisconnect { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .site-rail, .menu-btn i { transition: none; }
}
