/* Validator Hub — Coreum DAO brand shell */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dao/dm-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/dao/montserrat.woff2") format("woff2");
}

:root {
  --bg: #050605;
  --bg-elev: #0E100E;
  --bg-panel: #141714;
  --ink: #F2FFF1;
  --steel: #9DA293;
  --accent: #B1FC03;
  --accent-2: #00E1FF;
  --accent-3: #FF00DA;
  --green-soft: #83DC85;
  --text: #F2FFF1;
  --text-muted: rgba(200, 222, 199, 0.72);
  --rule: rgba(200, 222, 199, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Montserrat", "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(0, 225, 255, 0.08), transparent 55%),
    radial-gradient(800px 480px at 92% 0%, rgba(177, 252, 3, 0.07), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: #041004; padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 700 14px/1.2 var(--font-display); text-decoration: none; letter-spacing: 0.04em;
  text-transform: uppercase; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: #041004;
  box-shadow: 0 0 24px rgba(177, 252, 3, 0.25);
}
.btn-primary:hover { background: #C8FF3A; color: #041004; }
.btn-ghost { color: var(--ink); border-color: rgba(242, 255, 241, 0.28); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(177, 252, 3, 0.06); }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 12px; }
.btn-outline {
  color: var(--ink); border-color: var(--rule); background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; display: flex; align-items: center;
  font-family: var(--font-display);
}

/* Header — DAO shell */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 5, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { flex: none; display: block; line-height: 0; }
.brand img { width: 148px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 8px; align-items: center; }
.site-nav a {
  color: var(--text-muted); text-decoration: none; font-size: 12px; font-weight: 600;
  padding: 8px 14px; letter-spacing: 0.06em; text-transform: uppercase;
  font-family: var(--font-display); border-radius: 8px;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.mobile-nav { display: none; border-top: 1px solid var(--rule); }
.mobile-nav ul { display: flex; gap: 4px; padding: 8px var(--gutter); overflow-x: auto; }
.mobile-nav a {
  color: var(--text-muted); text-decoration: none; font-size: 12px; font-weight: 600;
  padding: 8px 12px; text-transform: uppercase; letter-spacing: 0.05em;
  font-family: var(--font-display); white-space: nowrap;
}
.mobile-nav a[aria-current="page"] { color: var(--accent); }

@media (max-width: 820px) {
  .site-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
}

/* Home hero — marketing shell */
.home-hero {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 8vw, 100px);
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,5,0.35) 0%, rgba(5,6,5,0.92) 100%),
    url("../img/bgs/gradient.jpg") center / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.home-hero .container { position: relative; z-index: 1; }
.home-hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  max-width: 16ch;
  background: linear-gradient(128deg, #C8DEC7 30%, #3C493B 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-hero .lede {
  margin-top: 20px; max-width: 42ch;
  color: var(--text-muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.practice-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 8px 14px; border-radius: 999px;
  background: rgba(177, 252, 3, 0.08); border: 1px solid rgba(177, 252, 3, 0.28);
  color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-family: var(--font-display);
}

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.section-lead { color: var(--text-muted); max-width: 52ch; margin-bottom: 32px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  border-color: rgba(177, 252, 3, 0.35);
  box-shadow: 0 0 32px rgba(177, 252, 3, 0.08);
}
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: rgba(177, 252, 3, 0.1); border: 1px solid rgba(177, 252, 3, 0.25);
  font-size: 22px;
}

.cta-band {
  margin: 0 0 clamp(48px, 7vw, 88px);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background:
    linear-gradient(105deg, rgba(177,252,3,0.12), rgba(0,225,255,0.08)),
    var(--bg-elev);
  padding: clamp(28px, 5vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-band h2 { font-size: clamp(24px, 3.5vw, 36px); }
.cta-band p { color: var(--text-muted); margin-top: 8px; max-width: 40ch; }

/* Hub page */
.hub-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px);
}
.hub-hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
@media (max-width: 900px) { .hub-hero-grid { grid-template-columns: 1fr; } }
.hub-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; }
.hub-hero .lede { margin-top: 14px; color: var(--text-muted); max-width: 46ch; }

/* Rolling logo ball */
.ball-stage {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.ball-glow {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177,252,3,0.35) 0%, rgba(0,225,255,0.15) 40%, transparent 70%);
  filter: blur(18px);
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.ball-orb {
  position: relative;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(177, 252, 3, 0.35),
    0 0 40px rgba(0, 225, 255, 0.25),
    inset 0 0 40px rgba(0,0,0,0.35);
  background: #0a0c0a;
  animation: ball-roll 8s linear infinite;
  will-change: transform;
}
.ball-orb img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.ball-strip-mask {
  position: absolute; inset: 0;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.85;
  mix-blend-mode: screen;
  pointer-events: none;
}
.ball-strip-anim {
  width: 300%; height: 100%;
  background: url("../img/ball/ball_strip.png") left center / 100% 100% no-repeat;
  animation: strip-roll 1.2s steps(3) infinite;
}
@keyframes strip-roll {
  to { transform: translateX(-66.666%); }
}
@keyframes ball-roll {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.ball-caption {
  text-align: center; margin-top: 16px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel); font-family: var(--font-display); font-weight: 600;
}
.coin-float {
  position: absolute; width: 56px; height: 56px;
  right: 4%; bottom: 12%;
  animation: float-y 3.2s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(177,252,3,0.35));
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Live metrics (Chris hub functionality) */
.dash-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin-bottom: 24px; padding: 14px 18px;
  background: var(--bg-elev); border: 1px solid var(--rule); border-radius: var(--radius-sm);
}
.dash-bar p { color: var(--text-muted); font-size: 13px; }
.freshness {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  font-family: var(--font-display);
  padding: 6px 10px; border-radius: 999px;
  background: rgba(157, 162, 147, 0.12); color: var(--steel);
}
.freshness[data-state="live"] {
  background: rgba(177, 252, 3, 0.12); color: var(--accent);
}
.freshness[data-state="error"] {
  background: rgba(255, 0, 218, 0.12); color: #ff7ad9;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .metrics { grid-template-columns: 1fr; } }

.metric {
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
}
.metric-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); font-family: var(--font-display); margin-bottom: 8px;
}
.metric-value {
  font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--accent);
  font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15;
}
.metric-value small { font-size: 0.45em; color: var(--steel); font-weight: 600; margin-left: 4px; }
.metric-note { margin-top: 8px; color: var(--text-muted); font-size: 13px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(177, 252, 3, 0.12); color: var(--accent);
  font-size: 0.85em;
}
.status-pill[data-ok="false"] {
  background: rgba(255, 0, 218, 0.12); color: #ff7ad9;
}
.status-pill[data-ok="true"]::before,
.status-pill:not([data-ok])::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 8px currentColor;
}

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

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
}
.panel h3 { font-size: 18px; margin-bottom: 16px; }
.kv { display: grid; gap: 12px; }
.kv > div {
  display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.kv dt { color: var(--steel); font-size: 13px; font-weight: 600; }
.kv dd { margin: 0; color: var(--ink); font-size: 14px; word-break: break-all; }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; color: var(--accent-2);
}
.muted { color: var(--steel); }
.panel-actions { margin-top: 16px; }
.panel-actions a { font-weight: 600; text-decoration: none; }
.panel-actions a:hover { text-decoration: underline; }

.copy-row { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copy-btn {
  font: 700 11px/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px; border: 1px solid var(--rule);
  background: transparent; color: var(--accent-2); cursor: pointer;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

.notice {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start;
  padding: 24px; border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent-2);
}
@media (max-width: 800px) { .notice { grid-template-columns: 1fr; } }
.notice h2 { font-size: 22px; margin: 6px 0 10px; }
.notice p { color: var(--text-muted); margin-bottom: 10px; font-size: 14px; }
.notice-links a { font-weight: 600; }

.votes-list { display: grid; gap: 10px; }
.vote-row {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-elev); border: 1px solid var(--rule);
}
.vote-row strong { display: block; font-size: 14px; color: var(--ink); }
.vote-row span.meta { font-size: 12px; color: var(--steel); }
.vote-badge {
  font: 700 11px/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(177, 252, 3, 0.12); color: var(--accent);
}
.vote-badge.no { background: rgba(255,0,218,0.12); color: #ff7ad9; }
.vote-badge.abstain { background: rgba(0,225,255,0.12); color: var(--accent-2); }

.source-note { margin-top: 16px; font-size: 13px; color: var(--steel); }
.section-slate { background: rgba(14, 16, 14, 0.55); }

/* Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  background:
    linear-gradient(180deg, transparent, rgba(5,6,5,0.85)),
    url("../img/bgs/footerBg.jpg") center bottom / cover no-repeat;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 120px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 13px; max-width: 36ch; }
.footer-heading {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px; font-family: var(--font-display);
}
.footer-nav a {
  display: block; color: var(--text-muted); text-decoration: none;
  font-size: 14px; padding: 4px 0;
}
.footer-nav a:hover { color: var(--accent); }
.footer-base {
  border-top: 1px solid var(--rule); padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--steel); font-size: 12px;
}
.footer-base a { color: var(--accent-2); text-decoration: none; }


/* Hub hero without decorative ball */
.hub-hero .container:not(.hub-hero-grid) {
  max-width: 48rem;
}
.hub-hero .container:not(.hub-hero-grid) .lede {
  max-width: 40rem;
}


/* ===== Brand juice: match live DAO home energy (no rolling-ball filler) ===== */
body {
  background:
    radial-gradient(1100px 520px at 8% -10%, rgba(0, 225, 255, 0.14), transparent 55%),
    radial-gradient(900px 560px at 92% -5%, rgba(177, 252, 3, 0.12), transparent 52%),
    radial-gradient(700px 420px at 70% 40%, rgba(255, 0, 218, 0.05), transparent 60%),
    var(--bg);
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 5, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(177, 252, 3, 0.12);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.site-nav a[aria-current="page"] {
  color: var(--accent) !important;
  text-shadow: 0 0 18px rgba(177, 252, 3, 0.45);
}

.hub-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid rgba(177, 252, 3, 0.08);
}
.hub-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,5,0.15) 0%, rgba(5,6,5,0.88) 78%, var(--bg) 100%),
    url("../img/bgs/mainPatternSmall.png") center top / min(1400px, 160%) auto no-repeat,
    url("../img/bgs/gradientSmall.jpg") center / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.hub-hero::after {
  content: "";
  position: absolute; inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle at 30% 40%, rgba(177,252,3,0.18), transparent 55%),
              radial-gradient(circle at 70% 60%, rgba(0,225,255,0.12), transparent 50%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.hub-hero > .container { position: relative; z-index: 1; max-width: 52rem; }
.hub-hero .eyebrow {
  display: inline-flex; align-items: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(177, 252, 3, 0.35);
}
.hub-hero h1 {
  margin-top: 14px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  background: linear-gradient(118deg, #C8DEC7 10%, #B1FC03 58%, #83DC85 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(177, 252, 3, 0.10));
}
.hub-hero .lede {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: clamp(16px, 2.2vw, 18px);
  max-width: 42ch;
}
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary {
  box-shadow: 0 0 28px rgba(177, 252, 3, 0.35), 0 0 2px rgba(177,252,3,0.8) inset;
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(177, 252, 3, 0.5);
}

.dash-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20,23,20,0.85), rgba(14,16,14,0.72));
  border: 1px solid rgba(177, 252, 3, 0.18);
  box-shadow: 0 0 0 1px rgba(0,225,255,0.05), 0 20px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 22px;
}
.freshness-light, [data-freshness][data-state="live"] {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(177, 252, 3, 0.12);
  border: 1px solid rgba(177, 252, 3, 0.35);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-freshness][data-state="live"]::before,
.freshness-light::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .metrics { grid-template-columns: 1fr; } }

.metric {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(28, 32, 26, 0.92), rgba(10, 12, 10, 0.78));
  border: 1px solid rgba(200, 222, 199, 0.12);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(242, 255, 241, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.metric::before {
  content: "";
  position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 14px rgba(177,252,3,0.45);
}
.metric:hover {
  transform: translateY(-3px);
  border-color: rgba(177, 252, 3, 0.35);
  box-shadow:
    0 22px 50px rgba(0,0,0,0.45),
    0 0 28px rgba(177, 252, 3, 0.08);
}
.metric-label {
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px; padding-left: 10px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 760;
  line-height: 1.1;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(177, 252, 3, 0.28);
  padding-left: 10px;
}
.metric-value small {
  font-size: 0.45em; color: var(--steel); margin-left: 4px; letter-spacing: 0.06em;
}
.metric-note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  padding-left: 10px;
}
.status-pill {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(177, 252, 3, 0.14);
  border: 1px solid rgba(177, 252, 3, 0.4);
  color: var(--accent);
  font-size: 0.72em;
  box-shadow: 0 0 16px rgba(177, 252, 3, 0.2);
}

.panel {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(22,26,22,0.9), rgba(10,12,10,0.82));
  border: 1px solid rgba(0, 225, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}
.panel h3 {
  margin-bottom: 16px;
  font-size: 18px;
  background: linear-gradient(90deg, #C8DEC7, #B1FC03);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 8px;
}
.section-lead { color: var(--text-muted); margin-bottom: 18px; }

.vote-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 14px 16px; margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(14,16,14,0.7);
  border: 1px solid rgba(200,222,199,0.1);
}
.vote-badge {
  flex: none;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(177,252,3,0.14); color: var(--accent);
  border: 1px solid rgba(177,252,3,0.35);
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.vote-badge.no { background: rgba(255,0,218,0.12); color: #ff7ad9; border-color: rgba(255,0,218,0.35); }
.vote-badge.abstain { background: rgba(0,225,255,0.1); color: var(--accent-2); border-color: rgba(0,225,255,0.3); }

.notice {
  padding: 22px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,0,218,0.1), rgba(14,16,14,0.85));
  border: 1px solid rgba(255, 0, 218, 0.28);
  box-shadow: 0 0 40px rgba(255,0,218,0.08);
}
.notice .eyebrow, #old-title {
  color: #ff7ad9;
}

.site-footer {
  background:
    linear-gradient(180deg, transparent, rgba(5,6,5,0.9)),
    url("../img/bgs/footerBg.jpg") center bottom / cover no-repeat;
}

.mono { color: var(--accent-2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; word-break: break-all; }

/* ===== Hub v3 (Nov 5): Network + Governance + CCD club, pulled from Chris's hub ===== */
.hub-subnav { position: relative; z-index: 5; background: rgba(5,6,5,0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.hub-subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.hub-subnav a { flex: none; padding: 7px 14px; border-radius: 999px; color: var(--text-muted); font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; }
.hub-subnav a:hover { color: var(--accent); border-color: rgba(177,252,3,0.35); background: rgba(177,252,3,0.06); }
.hub-hero .lede a { color: var(--accent); }

.id-strip { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border-radius: 14px; background: rgba(14,16,14,0.7); border: 1px solid rgba(177,252,3,0.18); max-width: 860px; }
.status-pill-sm { font-size: 12px !important; padding: 4px 10px !important; }
.id-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.id-addr { font-size: 12px; }
.id-link { margin-left: auto; color: var(--accent); font-weight: 600; text-decoration: none; font-size: 14px; }

.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head-row .section-lead { margin-bottom: 0; max-width: 620px; }
.section-head-row .dash-bar { margin: 0; }

.net-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
@media (max-width: 860px) { .net-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .net-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.net-tile { position: relative; padding: 18px; border-radius: 16px; background: linear-gradient(165deg, rgba(0,225,255,0.06), rgba(10,12,10,0.85) 60%); border: 1px solid rgba(0,225,255,0.16); overflow: hidden; }
.net-tile::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; background: radial-gradient(circle, rgba(177,252,3,0.12), transparent 70%); pointer-events: none; }
.net-label { margin: 0 0 6px; color: var(--steel); font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.net-value { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 3vw, 28px); color: var(--accent-2); }
.net-value small { color: var(--steel); font-size: 0.6em; }
.net-note { margin: 6px 0 0; font-size: 13px; color: var(--text-muted); }

.strip { margin-top: 22px; display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 20px 22px; border-radius: 16px; border: 1px dashed rgba(177,252,3,0.3); background: rgba(177,252,3,0.03); }
.strip h3 { color: var(--accent); font-size: 18px; }
.strip p { margin: 0 0 8px; color: var(--text-muted); }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr; } }

.open-props { margin: 0 0 18px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(177,252,3,0.45); background: linear-gradient(90deg, rgba(177,252,3,0.12), rgba(0,225,255,0.05)); box-shadow: 0 0 30px rgba(177,252,3,0.08); }
.open-props p { margin: 0 0 6px; }
.open-props a { color: var(--accent); }
.open-prop + .open-prop { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }

.tally { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 860px) { .tally { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.tally-item { padding: 12px 14px; border-radius: 14px; background: rgba(14,16,14,0.75); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.tally-num { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); line-height: 1.1; }
.tally-label { font-size: 12px; color: var(--steel); text-transform: uppercase; letter-spacing: 0.08em; }
.tally-item.yes .tally-num, .tally-item.accent .tally-num { color: var(--accent); }
.tally-item.no .tally-num { color: #ff7ad9; }
.tally-item.abstain .tally-num { color: var(--accent-2); }
.tally-item.veto .tally-num { color: #ff9a5c; }

.gov-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { cursor: pointer; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--text-muted); font: 600 13px var(--font); }
.chip:hover { color: var(--ink); border-color: rgba(177,252,3,0.4); }
.chip.is-on { background: var(--accent); color: #050605; border-color: var(--accent); }

.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--rule); background: rgba(10,12,10,0.7); }
table.gov { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 820px; }
table.gov th { text-align: left; padding: 12px 14px; color: var(--steel); font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: #0b0d0b; }
table.gov td { padding: 12px 14px; border-bottom: 1px solid rgba(200,222,199,0.07); vertical-align: top; }
table.gov tr:hover td { background: rgba(177,252,3,0.03); }
table.gov td.num { font-family: var(--font-display); font-weight: 700; color: var(--accent); white-space: nowrap; }
table.gov td.title-cell { color: var(--ink); font-weight: 600; max-width: 340px; }
table.gov .nowrap { white-space: nowrap; color: var(--text-muted); }
table.gov td.links a, table.gov td.src a { color: var(--accent-2); text-decoration: none; }
table.gov td.links a:hover, table.gov td.src a:hover { text-decoration: underline; }
.cell-note { display: block; font-size: 12px; color: var(--steel); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--rule); color: var(--text-muted); }
.status-passed { color: var(--green-soft); border-color: rgba(131,220,133,0.35); background: rgba(131,220,133,0.08); }
.status-rejected { color: #ff7ad9; border-color: rgba(255,0,218,0.3); background: rgba(255,0,218,0.07); }
.vote { display: inline-block; padding: 4px 11px; border-radius: 999px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.vote-yes { background: rgba(177,252,3,0.14); color: var(--accent); border: 1px solid rgba(177,252,3,0.4); }
.vote-no { background: rgba(255,0,218,0.12); color: #ff7ad9; border: 1px solid rgba(255,0,218,0.35); }
.vote-abstain { background: rgba(0,225,255,0.1); color: var(--accent-2); border: 1px solid rgba(0,225,255,0.3); }
.vote-veto { background: rgba(255,120,40,0.12); color: #ff9a5c; border: 1px solid rgba(255,120,40,0.35); }
.vote-none { color: var(--steel); border: 1px dashed var(--rule); text-transform: none; letter-spacing: 0; font-family: var(--font); font-weight: 500; }

.club { position: relative; overflow: hidden; }
.club::before { content: ""; position: absolute; inset: 0; background: url("../img/bgs/mainPatternSmall.png") center / 520px repeat; opacity: 0.05; pointer-events: none; }
.club > .container { position: relative; }
.club-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 22px; }
@media (max-width: 860px) { .club-cards { grid-template-columns: 1fr; } }
.club-card { position: relative; padding: 24px 22px 22px; border-radius: 18px; background: linear-gradient(160deg, rgba(177,252,3,0.08), rgba(10,12,10,0.88) 55%); border: 1px solid rgba(177,252,3,0.2); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.club-card:hover { transform: translateY(-3px); border-color: rgba(177,252,3,0.5); box-shadow: 0 16px 40px rgba(177,252,3,0.08); }
.club-num { display: inline-block; margin-bottom: 10px; font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.club-card h3 { font-size: 20px; margin-bottom: 8px; }
.club-card p { color: var(--text-muted); margin: 0 0 8px; }
.club-card a { color: var(--accent); }
.card-note { font-size: 13px; color: var(--steel) !important; font-style: italic; }
.club .notice { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.club .notice h3 { color: #ff7ad9; font-size: 20px; margin: 4px 0 8px; }
@media (max-width: 760px) { .club .notice { grid-template-columns: 1fr; } }
.notice-links a { margin-right: 14px; color: #ff9fe6; }

.properties { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
@media (max-width: 700px) { .properties { grid-template-columns: 1fr; } }
.property { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(14,16,14,0.75); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
a.property:hover { border-color: rgba(177,252,3,0.45); background: rgba(177,252,3,0.05); }
.property-type { color: var(--steel); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.property-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.property-arrow { color: var(--accent); font-size: 18px; transition: transform .2s; }
a.property:hover .property-arrow { transform: translateX(4px); }
.property-soon { opacity: 0.7; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgba(0,225,255,0.12); color: var(--accent-2); border: 1px solid rgba(0,225,255,0.3); }

.faq details { border: 1px solid var(--rule); border-radius: 14px; margin-bottom: 10px; background: rgba(14,16,14,0.6); }
.faq details[open] { border-color: rgba(177,252,3,0.35); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 18px 14px; color: var(--text-muted); }
.faq .answer a { color: var(--accent); }
.faq .answer ul { padding-left: 20px; }
.gov-more { margin-top: 12px; }

/* ===== Hub v4 (Nov 6): txLearn-style network dashboard (lime/dark DAO look) ===== */
.net-grid-dash { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .net-grid-dash { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .net-grid-dash { grid-template-columns: 1fr 1fr; } }

.slash-bar {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(177,252,3,0.22);
  background: linear-gradient(100deg, rgba(177,252,3,0.07), rgba(0,225,255,0.04));
}
.slash-bar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.slash-title { margin: 0; font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.health-badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(177,252,3,0.16); color: var(--accent); border: 1px solid rgba(177,252,3,0.45);
}
.health-badge[data-state="warn"] { background: rgba(255,154,92,0.14); color: #ff9a5c; border-color: rgba(255,154,92,0.4); }
.slash-params { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.slash-params li { font-size: 13px; color: var(--text-muted); }
.slash-params span { color: var(--steel); margin-right: 6px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; }
.slash-params strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.slash-foot { margin: 12px 0 0; font-size: 12px; color: var(--steel); }

.vals-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 28px 0 12px; }
.vals-title { margin: 0; font-size: clamp(20px, 3vw, 26px); }
.vals-head .section-lead { margin: 6px 0 0; max-width: 640px; }
.vals-explorer { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 14px; }
.vals-explorer:hover { text-decoration: underline; }
.vals-wrap { margin-top: 4px; }
table.vals { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.vals th {
  text-align: left; padding: 12px 14px; color: var(--steel);
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: #0b0d0b;
}
table.vals td { padding: 11px 14px; border-bottom: 1px solid rgba(200,222,199,0.07); vertical-align: middle; }
table.vals tr:hover td { background: rgba(177,252,3,0.03); }
table.vals tr.is-ccd td { background: rgba(177,252,3,0.06); }
table.vals td.num { font-family: var(--font-display); font-weight: 700; color: var(--accent); width: 40px; }
table.vals td.val-name a { color: var(--ink); font-weight: 600; text-decoration: none; }
table.vals td.val-name a:hover { color: var(--accent); }
table.vals td.vp, table.vals td.stake, table.vals td.comm { font-family: var(--font-display); font-weight: 700; color: var(--accent-2); white-space: nowrap; }
.ccd-badge {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(177,252,3,0.18); color: var(--accent); border: 1px solid rgba(177,252,3,0.4);
  vertical-align: middle;
}
.miss-bar {
  display: inline-block; position: relative; width: 88px; height: 10px; border-radius: 999px;
  background: rgba(200,222,199,0.1); border: 1px solid rgba(200,222,199,0.12); overflow: hidden; vertical-align: middle;
}
.miss-bar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.miss-bar.miss-ok i { background: var(--accent); }
.miss-bar.miss-warn i { background: #ffb347; }
.miss-bar.miss-bad i { background: #ff7ad9; }
.miss-bar.miss-unknown { opacity: 0.45; }


/* ===== Hub v5 (Nov 6): softer title gradients (less white→yellow) ===== */
/* hero/panel text gradients retuned above; keep dash/vals styles from v4 */

/* ===== Hub v6 (Nov 6): match homepage tone — kill baby-blue, TX token, logos, simplify votes ===== */
a { color: var(--accent); }
a:hover { color: #C8FF3A; }
.mono { color: var(--green-soft); }
body {
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(177, 252, 3, 0.06), transparent 55%),
    radial-gradient(800px 480px at 92% 0%, rgba(131, 220, 133, 0.05), transparent 50%),
    var(--bg);
}

.tx-token {
  display: inline-block;
  vertical-align: -8px;
  width: 36px; height: 36px;
  margin-right: 8px;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(177, 252, 3, 0.25);
}
.tx-token-sm {
  width: 18px; height: 18px;
  vertical-align: -3px;
  margin-right: 6px;
  box-shadow: 0 0 10px rgba(177, 252, 3, 0.2);
}
.section-title .tx-token { margin-right: 10px; }

/* Network + health tiles = homepage .metric look (lime, not cyan) */
.net-tile {
  padding: 20px 18px 18px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(28, 32, 26, 0.92), rgba(10, 12, 10, 0.78));
  border: 1px solid rgba(200, 222, 199, 0.12);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(242, 255, 241, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.net-tile::before {
  content: "";
  position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--green-soft));
  box-shadow: 0 0 14px rgba(177,252,3,0.45);
}
.net-tile::after { display: none; }
.net-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(177, 252, 3, 0.35);
  box-shadow:
    0 22px 50px rgba(0,0,0,0.45),
    0 0 28px rgba(177, 252, 3, 0.08);
}
.net-label { padding-left: 10px; margin-bottom: 10px; }
.net-value {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(177, 252, 3, 0.28);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 760;
  padding-left: 10px;
}
.net-note { padding-left: 10px; }

.slash-bar {
  border: 1px solid rgba(177,252,3,0.22);
  background: linear-gradient(100deg, rgba(177,252,3,0.07), rgba(28,32,26,0.55));
}

/* Validator logos + % colors (lime / ink — no baby blue) */
.val-cell {
  display: flex; align-items: center; gap: 12px;
}
.val-logo, .val-logo-fallback {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(177,252,3,0.08);
  border: 1px solid rgba(200,222,199,0.18);
}
.val-logo-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  color: var(--accent); letter-spacing: 0.02em;
}
.val-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.val-meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
.val-meta a:hover { color: var(--accent); }
table.vals td.vp { color: var(--accent); }
table.vals td.stake { color: var(--ink); }
table.vals td.comm { color: var(--steel); font-weight: 600; }

/* How CCD votes — fewer loud colors (lime + muted steel/ink) */
.tally-item.yes .tally-num, .tally-item.accent .tally-num { color: var(--accent); }
.tally-item.no .tally-num { color: var(--ink); }
.tally-item.abstain .tally-num { color: var(--steel); }
.tally-item.veto .tally-num { color: var(--steel); }
.vote-yes { background: rgba(177,252,3,0.14); color: var(--accent); border: 1px solid rgba(177,252,3,0.4); }
.vote-no { background: rgba(200,222,199,0.08); color: var(--ink); border: 1px solid rgba(200,222,199,0.22); }
.vote-abstain { background: rgba(14,16,14,0.7); color: var(--steel); border: 1px solid var(--rule); }
.vote-veto { background: rgba(14,16,14,0.7); color: var(--steel); border: 1px solid rgba(200,222,199,0.28); }
.status-passed { color: var(--green-soft); border-color: rgba(131,220,133,0.35); background: rgba(131,220,133,0.08); }
.status-rejected { color: var(--steel); border-color: var(--rule); background: rgba(14,16,14,0.6); }
table.gov td.links a, table.gov td.src a { color: var(--accent); }
.open-props { background: linear-gradient(90deg, rgba(177,252,3,0.12), rgba(28,32,26,0.4)); }

.club-blank .club-placeholder {
  margin-top: 8px;
  padding: 28px 22px;
  border-radius: 18px;
  border: 1px dashed rgba(177,252,3,0.28);
  background: rgba(14,16,14,0.55);
  color: var(--steel);
  text-align: center;
  font-style: italic;
}
.panel { border-color: rgba(177, 252, 3, 0.14); }
.metric::before { background: linear-gradient(180deg, var(--accent), var(--green-soft)); }

/* Governance hero graphic + clickable VOTE NOW overlay (gov1) */
.gov-hero{position:relative;margin:0 0 2.25rem;aspect-ratio:16/9;background:transparent}
.gov-hero img{display:block;width:100%;height:100%;object-fit:contain}
.gov-hero-cta{position:absolute;left:6.74%;top:69.79%;width:20.9%;height:10.59%;border-radius:999px;background:transparent}
.gov-hero-cta{transition:box-shadow .2s}.gov-hero-cta:hover{box-shadow:0 0 0 2px rgba(177,252,3,.55),0 0 28px rgba(177,252,3,.35)}
.gov-hero-cta:focus-visible{outline:3px solid #B1FC03;outline-offset:3px}
#gov-history{scroll-margin-top:140px}
#gov-history:focus{outline:none}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
@media (max-width:640px){.gov-hero{margin-bottom:1.5rem}}
@media (prefers-reduced-motion: reduce){.gov-hero-cta{transition:none}}
/* gov4: governance-local spacing */
#governance{padding-top:clamp(28px,4vw,48px)}
#governance .section-lead{margin-bottom:0}
#governance .gov-hero{margin:-5% 0 1.25rem;z-index:1}
#governance .gov-hero{pointer-events:none}#governance .gov-hero-cta{pointer-events:auto;z-index:2}

/* ===== Homepage-match pass (Nov 11 2026): soft white text, lime toned down ===== */
:root {
  --accent: #C8DEC7;          /* homepage soft white-sage replaces bright lime */
  --accent-2: #AFC2AE;        /* muted instead of cyan */
  --green-soft: #3C493B;
}
h1, .section-title, .hub-hero h1, #hub-title {
  background: linear-gradient(128deg, #C8DEC7 30%, #3C493B 95%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  color: transparent !important; -webkit-text-fill-color: transparent !important;
  text-shadow: none !important; filter: none !important;
}
.eyebrow { color: rgba(200, 222, 199, 0.72); }
*, *::before, *::after { text-shadow: none !important; }
.site-nav a[aria-current="page"], .mobile-nav a[aria-current="page"] { color: #F2FFF1 !important; }
a { color: #DDE8DC; }
a:hover { color: #F2FFF1; }
.btn-primary, .chip.is-on { background: #E6F0E5; color: #050605; box-shadow: none; }
.net-value, .metric-value, .tally-num, table.vals td.vp, table.vals td.stake, table.vals td.comm,
table.vals td.num, table.gov td.num, .club-num { color: #F2FFF1 !important; -webkit-text-fill-color: #F2FFF1 !important; background: none !important; }
.mono { color: rgba(200, 222, 199, 0.85); }
.vote-yes, .vote-no, .vote-abstain, .status-rejected, .vote-badge, .vote-badge.no, .vote-badge.abstain, .badge {
  background: rgba(242, 255, 241, 0.06) !important; color: #DDE8DC !important; border-color: rgba(242, 255, 241, 0.2) !important;
}
.vote-no, .status-rejected, .vote-badge.no { color: #D9B8C6 !important; }
.panel, .club-card, .net-tile, .open-props, .strip, .feature-card, .id-strip {
  border-color: rgba(200, 222, 199, 0.14) !important;
  box-shadow: none !important;
}
.club-card, .net-tile, .open-props { background: rgba(14, 16, 14, 0.72) !important; }
.net-tile::after { display: none; }
.metric::before { background: rgba(200, 222, 199, 0.35) !important; box-shadow: none !important; }
table.vals tr.is-ccd td { background: rgba(242, 255, 241, 0.05); }
.miss-bar i, .miss-bar.miss-ok i { background: rgba(200, 222, 199, 0.7); }

/* Cleanup 2026-11-11: mobile in-page jumps clear the sticky header; long hostnames wrap on a word, not mid-letter. */
@media (max-width: 820px) {
  html { scroll-padding-top: 124px; }
}
.source-note .mono,
.net-note .mono {
  word-break: normal;
  overflow-wrap: break-word;
  display: inline-block;
}

/* Live dot 2026-11-11: lime dot with a soft green glow (was rendering white). */
.status-pill[data-ok="true"]::before,
.status-pill:not([data-ok])::before,
[data-freshness][data-state="live"]::before,
.freshness-light::before {
  background: #B1FC03 !important;
  box-shadow: 0 0 0 3px rgba(177, 252, 3, 0.16), 0 0 10px 2px rgba(177, 252, 3, 0.45) !important;
}

/* Coreum → TX rebrand strip + plainer network-health notes (2026-11-11).
   Official logos: Coreum token from Cosmos chain-registry (pre-rebrand commit
   f9a8c67612); TX square from official Brand Kit at download.tx.org/Brand_Kit.zip. */
.strip.rebrand-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px 28px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(200, 222, 199, 0.14);
  background: rgba(14, 16, 14, 0.72);
}
.rebrand-marks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  flex: none;
}
.rebrand-mark {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
}
.rebrand-mark img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
  background: #0A0C0A;
}
.rebrand-mark img {
  border-radius: 50%;
}
.rebrand-mark-tx img {
  border-radius: 14px;
  background: #B1FC03;
}
.rebrand-mark figcaption {
  margin: 0;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 222, 199, 0.72);
}
.rebrand-arrow {
  display: flex;
  align-items: center;
  color: #C8DEC7;
  flex: none;
  animation: none;
}
.rebrand-arrow svg { display: block; }
@keyframes rebrand-arrow-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.62; }
  50% { transform: translateX(5px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .rebrand-arrow { animation: none; opacity: 0.9; }
}
.rebrand-bio h3 {
  color: #F2FFF1;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  background: none;
  -webkit-text-fill-color: #F2FFF1;
}
.rebrand-bio p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 64ch;
}
.rebrand-bio p:last-child { margin-bottom: 0; }
#health .section-lead { max-width: 68ch; }
#health .net-note { font-size: 13px; line-height: 1.45; }
#health .net-note [data-live] {
  display: block;
  margin-top: 4px;
  color: rgba(200, 222, 199, 0.58);
  font-size: 12px;
}
@media (max-width: 820px) {
  .strip.rebrand-strip {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 16px;
  }
  .rebrand-bio { width: 100%; }
  .rebrand-mark img { width: 48px; height: 48px; }
  .rebrand-mark { min-width: 52px; }
  .rebrand-arrow svg { width: 44px; height: 20px; }
}
@media (max-width: 420px) {
  .strip.rebrand-strip { padding: 14px 12px; }
  .rebrand-marks { gap: 8px; }
  .rebrand-bio h3 { font-size: 16px; }
  .rebrand-bio p { font-size: 13.5px; }
}


/* pom2: tightened Proof of Memo spotlight on the Validator Hub */
.pom-spot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(177, 252, 3, 0.07), transparent 55%),
    radial-gradient(420px 200px at 0% 100%, rgba(0, 225, 255, 0.05), transparent 50%);
}
.pom-spot .section-lead { margin-bottom: 22px; max-width: 62ch; }
.pom-strip {
  list-style: none;
  margin: 0 0 22px;
  padding: 4px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 18px;
  border: 1px solid rgba(200, 222, 199, 0.14);
  background: rgba(14, 16, 14, 0.72);
}
.pom-strip li {
  position: relative;
  padding: 18px 20px 20px;
}
.pom-strip li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: rgba(200, 222, 199, 0.14);
}
.pom-strip .club-num {
  margin-bottom: 8px;
  font-size: 22px;
}
.pom-strip h3 {
  font-size: 16px;
  margin: 0 0 6px;
  background: none !important;
  -webkit-text-fill-color: #F2FFF1 !important;
  color: #F2FFF1 !important;
}
.pom-strip p:not(.club-num) {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0;
}
.pom-scam {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(177, 252, 3, 0.4);
  background: rgba(5, 6, 5, 0.55);
}
.pom-scam p { margin: 0; color: #E6F0E5; font-size: 15px; line-height: 1.5; }
.pom-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.pom-login {
  color: rgba(200, 222, 199, 0.86);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pom-login:hover { color: #F2FFF1; }
@media (max-width: 860px) {
  .pom-strip { grid-template-columns: 1fr; }
  .pom-strip li + li::before {
    left: 16px;
    right: 16px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}


/* CCD club shelf: two equal cards (verify first, then the club arcade). */
.club-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .club-cards-2 { grid-template-columns: 1fr; }
  .club { padding-bottom: calc(24px + 96px + env(safe-area-inset-bottom, 0px)); }
  .club-cards .club-card .btn { scroll-margin-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
.club-cards .club-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.club-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  background: #050605;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.club-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(177, 252, 3, 0.45);
}
.club-card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #B1FC03;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.club-cards .club-card h3 { margin: 0; }
.club-cards .club-card p { margin: 0; flex: 1; }
.club-cards .club-card .btn {
  align-self: flex-start;
  margin-top: 8px;
  text-decoration: none;
}


/* Kaf in Space club card: locked until the visitor has an equinox pass. */
.club-lock-note {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 700 12px/1 Montserrat, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 240, 229, 0.72);
}
.club-card.is-locked .club-lock-note { display: inline-flex; }
.club-lock-ico {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
}
.club-lock-ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.club-card.is-locked .club-card-thumb { filter: brightness(0.7); }

/* smh2: Proof of Smart Memo hero (rendered art + light motion overlay) */
.smh2{position:relative;margin:22px 0 26px;border-radius:20px;overflow:hidden;background:#040504;aspect-ratio:1600/640;border:1px solid rgba(255,255,255,.07);box-shadow:0 30px 80px -30px rgba(198,244,50,.18),0 0 0 1px rgba(198,244,50,.06) inset}
.smh2::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.05),transparent 28%);mix-blend-mode:screen}
.smh2-img,.smh2-fx{position:absolute;inset:0;width:100%;height:100%;display:block}
.smh2-img{object-fit:cover;object-position:50% 50%}
.smh2-label{position:absolute;left:0;right:0;top:86.25%;margin:0;text-align:center;font-family:var(--font-display);font-weight:700;font-size:clamp(14px,1.35vw,20px);letter-spacing:.18em;text-transform:uppercase;color:rgba(236,248,214,.88);line-height:1;pointer-events:none;z-index:2;text-shadow:0 2px 18px rgba(0,0,0,.45)}
.smh2-pkt{offset-path:path("M470 318 A330 86 0 1 1 1130 318 A330 86 0 1 1 470 318");offset-rotate:0deg;animation:smh2Run 7s linear infinite}
@keyframes smh2Run{0%{offset-distance:0%;opacity:.25}40%{opacity:.12}50%{opacity:1}97%{opacity:1}100%{offset-distance:100%;opacity:.25}}
.smh2-seal{opacity:.10;transform-box:fill-box;transform-origin:center;animation:smh2Glow 3.5s ease-in-out infinite}
@keyframes smh2Glow{50%{opacity:.28;transform:scale(1.1)}}
@media (max-width:640px){.smh2{aspect-ratio:5/4;border-radius:16px}.smh2-label{font-size:15px;letter-spacing:.18em}}
@media (prefers-reduced-motion:reduce){.smh2-pkt,.smh2-seal{animation:none}.smh2-pkt{display:none}}
