:root {
  --bg: #0b0d11;
  --panel: #131720;
  --border: #232838;
  --text: #e5e7eb;
  --text-dim: #8b93a5;
  --accent: #1d9e75;
  --accent-bright: #22d38a;
  --amber: #ef9f27;
  --red: #d85a30;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; text-decoration: none; color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
nav { display: flex; gap: 28px; }
nav a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
nav a:hover, nav a.active { color: var(--text); }
main { max-width: 1100px; margin: 0 auto; padding: 32px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.card h3 {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.card h2 { margin: 0 0 12px; font-size: 20px; }
.card p { color: var(--text-dim); line-height: 1.6; font-size: 14px; }
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--text); }
.badge {
  font-family: var(--mono);
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(29,158,117,0.12);
  color: var(--accent-bright);
}
.badge.amber { background: rgba(239,159,39,0.12); color: var(--amber); }
.badge.red { background: rgba(216,90,48,0.15); color: var(--red); }
.connect-box {
  font-family: var(--mono);
  font-size: 14px;
  background: rgba(29,158,117,0.1);
  border: 1px solid rgba(29,158,117,0.3);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--accent-bright);
  margin-bottom: 14px;
  word-break: break-all;
}
.field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.field-box {
  font-family: var(--mono);
  font-size: 13px;
  background: #0e1117;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 12px;
  color: var(--text-dim);
}
.cmd-box {
  font-family: var(--mono);
  font-size: 12px;
  background: #0e1117;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  word-break: break-all;
  margin-top: 4px;
}
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  text-align: left;
  padding: 10px 8px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 10px 8px;
  font-family: var(--mono);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }
.lookup { display: flex; gap: 10px; }
.lookup input {
  flex: 1;
  background: #0e1117;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
}
.lookup button {
  background: var(--accent);
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  color: #04342c;
  font-weight: 600;
  cursor: pointer;
}
.footer { text-align: center; color: var(--text-dim); font-size: 12px; padding: 32px; }
.footer a { color: var(--text-dim); }
.muted { color: var(--text-dim); }
.step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(29,158,117,0.15);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  flex-shrink: 0;
}
.step-body h4 { margin: 0 0 6px; font-size: 15px; }
.step-body p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tab {
  background: #0e1117;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
}
.tab.active { color: var(--accent-bright); border-color: rgba(29,158,117,0.4); }


.dropdown { position: relative; }
.dropdown > span {
  color: var(--accent-bright);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown > span:hover { color: var(--text); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 12px;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu-inner {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
}
.dropdown-menu a:hover { background: #1a1f2b; color: var(--text); }


/* ---- Zephyr pool additions ---- */
.brand .sub { color: var(--text-dim); font-weight: 400; font-size: 14px; margin-left: 4px; }
.notice {
  background: rgba(239,159,39,0.10);
  border: 1px solid rgba(239,159,39,0.35);
  color: var(--amber);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.notice[hidden] { display: none; }
.cmd-wrap { position: relative; }
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #1a1f2b;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 12px;
  padding: 4px 10px;
  cursor: pointer;
}
.copy-btn:hover { color: var(--text); }
.cmd-wrap .cmd-box { padding-right: 70px; }
.progress {
  height: 8px;
  background: #0e1117;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin: 6px 0 2px;
}
.progress > div { height: 100%; background: var(--accent); width: 0; }
.hint { color: var(--text-dim); font-size: 13px; line-height: 1.6; margin: 10px 0 0; }
.msg { color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.msg.error { color: var(--red); }
.sub-title { margin: 22px 0 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.lookup input:focus-visible, .lookup button:focus-visible,
.tab:focus-visible, .copy-btn:focus-visible, nav a:focus-visible, .brand:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
.step-body code, .card p code {
  font-family: var(--mono);
  font-size: 12.5px;
  background: #0e1117;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--text);
}
.step-body a, .card p a { color: var(--accent-bright); text-decoration: none; }
.step-body .cmd-wrap { margin-top: 12px; }
@media (max-width: 640px) {
  header { flex-wrap: wrap; gap: 12px; padding: 16px 18px; }
  nav { gap: 18px; flex-wrap: wrap; }
  main { padding: 20px 16px; }
  .lookup { flex-direction: column; }
}

.miner-link { color: var(--accent-bright); text-decoration: none; }
.miner-link:hover { text-decoration: underline; }
.miner-link:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }

.cmd-box .tok { white-space: nowrap; }
.cmd-wrap .cmd-box { word-break: normal; overflow-wrap: normal; overflow-x: auto; }
