/* Sitewide header/footer gold separators — match Data Deletion secondary gold line. */
:root{
  --st-soft-gold-line:linear-gradient(90deg,transparent,rgba(245,201,93,.86),rgba(217,157,18,.95),rgba(245,201,93,.86),transparent);
  --st-soft-gold-glow:0 0 14px rgba(245,201,93,.24);
}

html body .site-header{
  position:sticky!important;
  border-bottom:0!important;
  overflow:visible!important;
}

html body .site-header::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:2px!important;
  border:0!important;
  background:var(--st-soft-gold-line)!important;
  box-shadow:var(--st-soft-gold-glow)!important;
  pointer-events:none!important;
  z-index:30!important;
}

html body .site-footer{
  position:relative!important;
  border-top:0!important;
  overflow:visible!important;
}

html body .site-footer::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:0!important;
  height:2px!important;
  border:0!important;
  background:var(--st-soft-gold-line)!important;
  box-shadow:var(--st-soft-gold-glow)!important;
  pointer-events:none!important;
  z-index:2!important;
}

/* Browse page header must visually match the site header width and use the same gold line.
   The Browse container itself had side gutters; make the page shell full-bleed, then put
   gutters back on the content below the header. */
html body main.site-main .container.browse-page{
  width:100%!important;
  max-width:none!important;
  padding-left:0!important;
  padding-right:0!important;
}

html body main.site-main .container.browse-page .browse-page-header-section{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  border-bottom:0!important;
  position:sticky!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,rgba(4,15,10,.99),rgba(4,17,11,.97))!important;
  box-shadow:0 12px 28px rgba(0,0,0,.28)!important;
}

html body main.site-main .container.browse-page .browse-search-card,
html body main.site-main .container.browse-page #listing-grid,
html body main.site-main .container.browse-page #infinite-sentinel,
html body main.site-main .container.browse-page .browse-join-nudge,
html body main.site-main .container.browse-page .browse-market-snapshot{
  width:min(1120px,calc(100% - 40px))!important;
  max-width:min(1120px,calc(100% - 40px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

html body main.site-main .container.browse-page .browse-page-header-section::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:2px!important;
  border:0!important;
  display:block!important;
  background:var(--st-soft-gold-line)!important;
  box-shadow:var(--st-soft-gold-glow)!important;
  pointer-events:none!important;
  z-index:40!important;
}

html body main.site-main .container.browse-page .browse-page-header-section .browse-secondary-header,
html body main.site-main .container.browse-page .browse-page-header-section .browse-after-hero-action{
  border-bottom:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

html body main.site-main .container.browse-page .browse-page-header-section .browse-secondary-header::after{
  content:none!important;
  display:none!important;
}

/* Footer internal divider uses the same accepted soft gold line. */
html body .site-footer .footer-count-separator{
  width:min(560px,78%)!important;
  height:2px!important;
  margin:.16rem auto!important;
  border:0!important;
  background:var(--st-soft-gold-line)!important;
  box-shadow:var(--st-soft-gold-glow)!important;
}

/* Footer legal links: replace the text-dot chain with calm wrapped chips. */
html body .site-footer .footer-legal{
  position:relative!important;
  width:min(980px,calc(100% - 24px))!important;
  margin:.2rem auto 0!important;
  padding-top:.82rem!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:.42rem!important;
  color:var(--muted,#c9d5d0)!important;
  line-height:1.2!important;
}

html body .site-footer .footer-legal::before{
  content:none!important;
  display:none!important;
}

html body .site-footer .footer-legal a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:32px!important;
  padding:.38rem .62rem!important;
  border:1px solid rgba(245,201,93,.20)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.035)!important;
  color:inherit!important;
  text-decoration:none!important;
  font-size:.82rem!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

html body .site-footer .footer-legal a:hover,
html body .site-footer .footer-legal a:focus-visible{
  border-color:rgba(245,201,93,.54)!important;
  color:#f8e6a7!important;
  outline:0!important;
}

/* Footer stat rows: calmer hierarchy, no cramped horizontal scroller. */
html body .site-footer .footer-counts{
  width:min(980px,calc(100% - 24px))!important;
  margin:0 auto .9rem!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:.68rem!important;
}

html body .site-footer .footer-count-group{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-items:center!important;
  gap:.46rem!important;
  min-width:0!important;
}

html body .site-footer .footer-count-label{
  min-width:0!important;
  text-align:center!important;
  color:#f8e6a7!important;
  font-size:.72rem!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
  opacity:.94!important;
}

html body .site-footer .footer-stats,
html body .site-footer .footer-impact-stats{
  width:100%!important;
  margin:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:.46rem!important;
  overflow:visible!important;
  padding:0!important;
}

html body .site-footer .footer-stats .footer-stat-pill,
html body .site-footer .footer-impact-stats .footer-stat-pill{
  min-width:88px!important;
  flex:0 1 116px!important;
  padding:.52rem .56rem!important;
  border:1px solid rgba(245,201,93,.18)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}

html body .site-footer .footer-stats .footer-stat-pill strong,
html body .site-footer .footer-impact-stats .footer-stat-pill strong{
  color:#58f2a0!important;
  font-size:clamp(1.02rem,4vw,1.28rem)!important;
}

html body .site-footer .footer-stats .footer-stat-pill span,
html body .site-footer .footer-impact-stats .footer-stat-pill span{
  color:var(--muted,#c9d5d0)!important;
  font-size:.72rem!important;
  font-weight:850!important;
}

/* Market counters belong on Browse, not in the global footer. */
html body main.site-main .container.browse-page .browse-market-snapshot{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:.42rem!important;
  margin-top:.72rem!important;
  margin-bottom:.8rem!important;
  padding:.56rem .7rem!important;
  border:1px solid rgba(245,201,93,.16)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018))!important;
  box-shadow:0 10px 22px rgba(0,0,0,.16)!important;
}

html body main.site-main .container.browse-page .browse-market-snapshot-label{
  flex:1 0 100%!important;
  text-align:center!important;
  color:#f8e6a7!important;
  font-size:.72rem!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}

html body main.site-main .container.browse-page .browse-market-snapshot-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.28rem!important;
  min-height:34px!important;
  padding:.4rem .62rem!important;
  border:1px solid rgba(245,201,93,.18)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.035)!important;
  color:var(--muted,#c9d5d0)!important;
  text-decoration:none!important;
  font-size:.78rem!important;
  font-weight:850!important;
}

html body main.site-main .container.browse-page .browse-market-snapshot-pill strong{
  color:#58f2a0!important;
  font-size:1rem!important;
  font-weight:1000!important;
}

html body main.site-main .container.browse-page .browse-market-snapshot-pill:hover,
html body main.site-main .container.browse-page .browse-market-snapshot-pill:focus-visible{
  border-color:rgba(245,201,93,.54)!important;
  color:#f8e6a7!important;
  outline:0!important;
}