/* btns.wtf */
:root {
  --bg: #0e1620;
  --panel: #16212e;
  --panel-2: #1c2937;
  --line: #2a3a4c;
  --text: #e6edf3;
  --muted: #9fb0c1;
  --sky: #1ca0f0;
  --xchain: #1e90c7;
  --orange: #f47a3a;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px 48px; }

/* XChain banner */
.banner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 20px 0;
  padding: 16px 20px;
  border: 1px solid #2f5f86;
  border-left: 5px solid var(--xchain);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(30, 144, 199, .22), rgba(30, 144, 199, .06));
}
.banner img { width: 120px; flex: none; }
.banner .text { flex: 1 1 320px; }
.banner .text strong { color: #fff; }
.banner .text p { margin: 0; color: var(--text); }
.banner .text p + p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.banner .btn {
  flex: none;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--xchain);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.banner .btn:hover { background: #1a7fb0; text-decoration: none; }

/* Header */
.hero { text-align: center; margin: 0 0 20px; }
.hero img { width: 300px; }
.hero h1 { margin: 8px 0 0; font-size: 30px; font-weight: 800; letter-spacing: .04em; }
.hero p { margin: 4px 0 0; color: var(--muted); }

/* Grid */
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.card h2 {
  margin: 0;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.card .body { padding: 16px; }
.card .body p { margin: 0 0 12px; text-align: justify; }
.card .body p:last-child { margin-bottom: 0; }
.card .body ul { margin: 4px 0 14px; padding-left: 22px; }
.card .body ul:last-child { margin-bottom: 0; }
.card .body b { color: #fff; }
.card .body a, .card .body a b { color: var(--sky); }
.donate { display: inline-block; font-family: var(--mono); font-size: 14px; word-break: break-all; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 8px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
th { background: var(--panel-2); border-top: 0; font-weight: 600; }
td:first-child { font-weight: 600; white-space: nowrap; color: #fff; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
tbody tr:hover { background: rgba(28, 160, 240, .10); }
code { font-family: var(--mono); font-size: 13px; background: rgba(255,255,255,.08); padding: 1px 5px; border-radius: 4px; }

footer { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }

/* Tables scroll inside their card on very narrow screens */
.card:has(> table) { overflow-x: auto; }

/* Icons */
.ico { width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; flex: none; }
svg.ico { fill: none; stroke: var(--sky); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--sky); }
img.ico { border-radius: 4px; }
td svg.ico { width: 20px; height: 20px; vertical-align: -5px; margin-right: 10px; }
.card .body ul { list-style: none; padding-left: 4px; }
.card .body li { margin: 3px 0; display: flex; align-items: center; }
.card .body li a { margin-right: 4px; }
