/* Validator Hub polish pass (Nov 17 2026, sandbox).
   One base, one surface:
   base    #050605  page, header, sub nav, hero, every section, footer
   surface #121412  every card, strip, table and panel, 10px corners
   rule    rgba(242,255,241,0.07) hairline borders
   lime    #B1FC03 for small accents only; the governance banner keeps its #C6F432 rules. */
:root { --pl-base: #050605; --pl-surface: #121412; --pl-rule: rgba(242, 255, 241, 0.07); --pl-lime-rule: rgba(177, 252, 3, 0.32); }

/* Base: flat near black everywhere, including overscroll */
html { background: var(--pl-base); }
body { background: var(--pl-base) !important; }

.site-header {
  background: rgba(5, 6, 5, 0.94) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--pl-rule) !important;
  box-shadow: none !important;
}
.hub-subnav { background: var(--pl-base) !important; border-bottom: 1px solid var(--pl-rule); }

/* Hero: drop the purple and cyan gradient photo and the cyan glow; keep the neutral line pattern */
.hub-hero { background: var(--pl-base); border-bottom: 0 !important; }
.hub-hero::after { display: none !important; }
.hub-hero::before {
  background:
    linear-gradient(180deg, rgba(5, 6, 5, 0.30) 0%, rgba(5, 6, 5, 0.86) 72%, #050605 100%),
    url("../img/bgs/mainPatternSmall.png") center top / min(1400px, 160%) auto no-repeat !important;
  opacity: 0.75 !important;
}

/* Sections: no tinted bands, no corner glows */
main > .section,
.section-slate,
.pom-spot,
.ustx-earn,
.club { background: transparent !important; }

/* Surface: one card tone, 10px corners, hairline border, no glow */
.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 {
  background: var(--pl-surface) !important;
  border: 1px solid var(--pl-rule) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* Notices keep a thin lime edge so they still read as notices */
.pom-scam, .earn-note-box, .open-props { border-color: var(--pl-lime-rule) !important; }
.net-tile::after { display: none !important; }
.vh-one, .vh-one.is-set { background: transparent !important; border: 1px solid var(--pl-rule) !important; border-radius: 10px !important; }
table.vals th, table.gov th, .table-wrap th { background: var(--pl-surface) !important; }

/* Rendered art frames (smart memo hero): flat frame, no lime halo */
.smh2 { border-radius: 10px !important; border: 1px solid var(--pl-rule) !important; box-shadow: none !important; background: #030403 !important; }
.smh2::after { display: none; }

/* Footer: same base, no teal photo */
.site-footer { background: var(--pl-base) !important; border-top: 1px solid var(--pl-rule) !important; }

/* Smart Memo example panels: cover the art's placeholder cards with a live looking HTML example */
.smx {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 24.5%; box-sizing: border-box;
  padding: clamp(10px, 1.05vw, 16px);
  background: var(--pl-surface); border: 1px solid rgba(242, 255, 241, 0.09); border-radius: 10px;
  font-size: clamp(10.5px, 0.86vw, 12.5px); line-height: 1.35; color: rgba(200, 222, 199, 0.82);
  text-align: left; z-index: 2;
}
.smx-send { left: 3.4%; }
.smx-check { right: 3.4%; }
.smx p, .smx dl, .smx ol { margin: 0; }
.smx-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 0.9em !important;
  font-family: var(--font-display); font-weight: 700; font-size: 0.86em; letter-spacing: 0.12em; text-transform: uppercase; color: #F2FFF1; }
.smx-tag { flex: none; font-size: 0.86em; letter-spacing: 0.1em; padding: 0.2em 0.6em; border-radius: 999px; border: 1px solid rgba(242, 255, 241, 0.18); color: rgba(200, 222, 199, 0.75); font-weight: 700; }
.smx-rows { display: grid; gap: 0.45em; }
.smx-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0.45em 0.7em; background: #0B0D0B; border-radius: 6px; }
.smx-rows dt { color: rgba(200, 222, 199, 0.6); }
.smx-rows dd { margin: 0; color: #E6F0E5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.smx .mono { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace); font-size: 0.95em; }
.smx-code { color: #B1FC03 !important; font-weight: 700; letter-spacing: 0.04em; }
.smx-btn { margin-top: 0.8em !important; text-align: center; padding: 0.55em; border-radius: 999px; background: #B1FC03; color: #050605; font-weight: 700; font-size: 0.92em; }
.smx-foot { margin-top: 0.7em !important; font-size: 0.85em; color: rgba(200, 222, 199, 0.55); }
.smx-check .smx-foot { text-align: left; }
.smx-steps { list-style: none; padding: 0; display: grid; gap: 0.55em; }
.smx-steps li { display: flex; gap: 0.7em; align-items: flex-start; padding: 0.55em 0.7em; background: #0B0D0B; border-radius: 6px; }
.smx-steps li > span:last-child { display: grid; min-width: 0; }
.smx-steps b { color: #E6F0E5; font-weight: 600; }
.smx-steps em { font-style: normal; color: rgba(200, 222, 199, 0.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smx-steps em.mono { color: #B1FC03; }
.smx-ok { flex: none; width: 1.25em; height: 1.25em; margin-top: 0.1em; border-radius: 50%; border: 1.5px solid #B1FC03; position: relative; }
.smx-ok::after { content: ""; position: absolute; left: 0.36em; top: 0.16em; width: 0.32em; height: 0.6em; border: solid #B1FC03; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
/* Too small to read below laptop width: the art crops to the centre there, so the example steps aside */
@media (max-width: 1000px) { .smx { display: none; } }

/* Earn charts: rewards series in sage instead of cyan, dots sit on the card tone */
.ec-dot { fill: var(--pl-surface) !important; }
[data-earn-chart="rewards"] .ec-line, [data-earn-chart="rewards"] .ec-dot { stroke: #C8DEC7 !important; }
[data-earn-chart="rewards"] .ec-dot { filter: none !important; }
[data-earn-chart="rewards"] .ec-area { fill: rgba(200, 222, 199, 0.07) !important; }
[data-earn-chart="rewards"] .earn-chart-last { color: #C8DEC7 !important; }
