/* Home glass pass (Nov 18 2026, sandbox only): Validator Hub takes the live homepage stats look by default.
   Source: live homepage /_next/static/css (Tailwind) stats cards:
   wrapper  rounded-xl (12px) + backdrop-blur-lg (blur 16px)
   card     border 1px rgb(242 255 241 / .10), bg rgb(242 255 241 / .10)
   sheen    inset ring 2px rgb(242 255 241 / .05) blurred 2px + 1px rgb(242 255 241 / .10) blurred .5px
   hover    bg rgb(131 220 133 / .10), border rgb(131 220 133 / .20), 300ms ease in out
   labels   h5 Montserrat 700 12px, .12em tracking, uppercase, #9C9C9C
   numbers  h3 DM Sans 900, white
   glow     deep green bloom out of black, sampled from the homepage behind the stats (#0E2A0E peak, #0A1D0B body, #040B04 edge) */
:root {
  --hg-glass: rgba(242, 255, 241, 0.10);
  --hg-rule: rgba(242, 255, 241, 0.10);
  --hg-sheen: inset 0 0 0 1px rgba(242, 255, 241, 0.10), inset 0 0 3px 2px rgba(242, 255, 241, 0.05);
  --hg-blur: blur(16px);
  --hg-hover-bg: rgba(131, 220, 133, 0.10);
  --hg-hover-rule: rgba(131, 220, 133, 0.20);
  --hg-inset: rgba(0, 0, 0, 0.30);
  --hg-label: #9C9C9C;
  --hg-glow: radial-gradient(ellipse closest-side at 50% 50%, rgba(14, 42, 14, 0.95) 0%, rgba(10, 29, 11, 0.72) 40%, rgba(4, 11, 4, 0.30) 75%, rgba(0, 0, 0, 0) 100%);
}

/* Page: black with smooth green blooms behind the content */
html body { background: #000 !important; }
.hub-hero {
  background: radial-gradient(ellipse closest-side at 50% 62%, rgba(14, 42, 14, 0.95) 0%, rgba(10, 29, 11, 0.65) 45%, rgba(4, 11, 4, 0.25) 78%, rgba(0, 0, 0, 0) 100%), #000 !important;
}
main > .section, .section-slate, .pom-spot, .ustx-earn, .club { background: var(--hg-glow) !important; }
#network, #health, #validators {
  background: radial-gradient(ellipse closest-side at 50% 50%, rgba(14, 42, 14, 0.85) 0%, rgba(10, 29, 11, 0.58) 42%, rgba(4, 11, 4, 0.25) 75%, rgba(0, 0, 0, 0) 100%) !important;
}

/* Glass boxes, homepage stats style */
.id-strip, .pom-strip, .dash-bar, .net-tile, .strip, .rebrand-strip, .earn-fresh, .earn-strip, .earn-chart,
.slash-bar, .table-wrap, .tally-item, .open-props, .club-card, .gov-banner, .pom-scam, .earn-note-box, .smx {
  background: var(--hg-glass) !important;
  border: 1px solid var(--hg-rule) !important;
  border-radius: 12px !important;
  box-shadow: var(--hg-sheen) !important;
  -webkit-backdrop-filter: var(--hg-blur) !important; backdrop-filter: var(--hg-blur) !important;
  transition: background-color .3s ease-in-out, border-color .3s ease-in-out !important;
}
.net-tile:hover, .club-card:hover, .tally-item:hover, .earn-strip li:hover {
  background: var(--hg-hover-bg) !important; border-color: var(--hg-hover-rule) !important;
}
.net-tile::before { display: none !important; }
.pom-scam, .earn-note-box, .open-props { border-color: rgba(177, 252, 3, 0.30) !important; }
.smx { background: rgba(242, 255, 241, 0.08) !important; }
.vh-one, .vh-one.is-set, .smx-rows > div, .smx-steps li { background: var(--hg-inset) !important; border-color: var(--hg-rule) !important; }
table.vals th, table.gov th, .table-wrap th { background: rgba(242, 255, 241, 0.04) !important; }
.table-wrap td, .table-wrap th { border-color: rgba(242, 255, 241, 0.08) !important; }
table.vals tr.is-ccd td, table.vals tr.ccd td { background: rgba(131, 220, 133, 0.08) !important; }

/* Labels and numbers like the homepage stat cards */
.net-label, .earn-label, .tally-label, .vh-label, .metric-label {
  font-family: "Montserrat", system-ui, sans-serif !important; font-weight: 700 !important;
  letter-spacing: .12em !important; text-transform: uppercase; color: var(--hg-label) !important;
}
.net-value, .earn-value, .tally-num, .vh-num { font-family: "DM Sans", system-ui, sans-serif !important; font-weight: 900 !important; }

/* Header and subnav glass over the glow */
.site-header { background: rgba(0, 0, 0, 0.05) !important; -webkit-backdrop-filter: var(--hg-blur) !important; backdrop-filter: var(--hg-blur) !important; }
.hub-subnav { background: rgba(0, 0, 0, 0.35) !important; -webkit-backdrop-filter: var(--hg-blur); backdrop-filter: var(--hg-blur); }

/* Verify page (/hub/verify/): same glow and glass */
html body.page-verify {
  background: radial-gradient(ellipse 900px 620px at 50% 520px, rgba(14, 42, 14, 0.95) 0%, rgba(10, 29, 11, 0.65) 40%, rgba(4, 11, 4, 0.25) 72%, rgba(0, 0, 0, 0) 100%), #000 !important;
}
body.page-verify .vf-intro, body.page-verify .vf-card, body.page-verify .vf-faq {
  background: var(--hg-glass) !important;
  border: 1px solid var(--hg-rule) !important;
  border-radius: 12px !important;
  box-shadow: var(--hg-sheen) !important;
  -webkit-backdrop-filter: var(--hg-blur); backdrop-filter: var(--hg-blur);
}
body.page-verify .vf-card::before { display: none; }
body.page-verify .vf-trust li { background: var(--hg-glass); border-color: rgba(242, 255, 241, 0.20); -webkit-backdrop-filter: var(--hg-blur); backdrop-filter: var(--hg-blur); }

/* Smart Memo hero (Nov 18 2026): no visible frame, art melts into the section glow */
.smh2 {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.smh2::after, .smh2::before { display: none !important; }
.smh2-img {
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 58%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 58%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
}

/* Token icons sized to their text (Nov 18 2026) */
.section-title .tx-token {
  width: 0.92em !important; height: 0.92em !important;
  vertical-align: -0.12em !important;
  margin-right: 0.24em !important;
}
.net-label:has(.tx-token-sm), .earn-label:has(.tx-token-sm) { display: flex !important; align-items: center; gap: 8px; }
.net-label .tx-token-sm, .earn-label .tx-token-sm {
  width: 20px !important; height: 20px !important; flex: none;
  margin: 0 !important; vertical-align: middle !important;
}

/* ===== Go live fix (Nov 19 2026, sandbox): 44px tap targets on phones and touch screens ===== */
@media (max-width: 600px), (pointer: coarse) {
  .header-inner .brand,
  .mobile-nav a,
  .hub-subnav a,
  .footer-nav a,
  .id-link,
  .vals-explorer,
  .val-meta a,
  td.links a { display: inline-flex; align-items: center; min-height: 44px; }
  .copy-btn,
  .gov-filters .chip { min-height: 44px; min-width: 44px; }
}
@media (max-width: 600px), (pointer: coarse) {
  .footer-nav a { min-width: 44px; }
  .src a { display: inline-flex; align-items: center; min-height: 44px; }
}
