/* Shared public-page surface and headings; HQM keeps its own identity. */
html{background:#050505!important}
body[data-dkc-page]:not([data-dkc-page="index"]){
  --dkc-page-background:#050505;
  --bg:#050505;
  --chal-bg:#050505;
  background:var(--dkc-page-background)!important;
}
body[data-dkc-page]:not([data-dkc-page="index"]) #dkc-topbar{
  background:var(--dkc-page-background)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
}
body[data-dkc-page]:not([data-dkc-page="index"]) :is(main,.section,.bc-year-picker,.sector-workspace){
  background:transparent!important;
}
body[data-dkc-page]:not([data-dkc-page="index"])::before,
body[data-dkc-page]:not([data-dkc-page="index"])::after,
body[data-dkc-page]:not([data-dkc-page="index"]) :is(main,.hero,.bc-hero,.sector-hero,.btc-clean-hero)::before,
body[data-dkc-page]:not([data-dkc-page="index"]) :is(main,.hero,.bc-hero,.sector-hero,.btc-clean-hero)::after{
  content:none!important;
  display:none!important;
}

body[data-dkc-page]:not([data-dkc-page="index"]) :is(.hero,.bc-hero,.sector-hero,.btc-clean-hero){
  min-height:0!important;
  padding:96px 24px 52px!important;
  box-sizing:border-box;
  background:transparent!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
}

body[data-dkc-page]:not([data-dkc-page="index"]) :is(.hero,.bc-hero,.sector-hero,.btc-clean-hero) h1{
  margin:0 auto!important;
  max-width:100%;
  font-family:"Be Vietnam Pro",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:72px!important;
  font-weight:750!important;
  font-style:normal!important;
  line-height:1.14!important;
  letter-spacing:0!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:none!important;
  -webkit-background-clip:border-box!important;
  text-align:center!important;
  text-transform:none!important;
  text-wrap:balance;
  overflow-wrap:normal;
  word-break:normal;
  text-shadow:0 0 18px rgba(231,199,106,.16),0 0 46px rgba(231,199,106,.07)!important;
}

body[data-dkc-page]:not([data-dkc-page="index"]) :is(.bc-hero-subtitle,.calc-hero-sub,.btc-hero-tagline){
  margin:16px auto 0!important;
  max-width:680px;
  font-family:"Be Vietnam Pro",Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:1.65!important;
  letter-spacing:.025em!important;
  color:#94a7ae!important;
  text-align:center!important;
}

@media(max-width:820px){
  body[data-dkc-page]:not([data-dkc-page="index"]) :is(.hero,.bc-hero,.sector-hero,.btc-clean-hero){
    padding:88px 16px 36px!important;
  }
  body[data-dkc-page]:not([data-dkc-page="index"]) :is(.hero,.bc-hero,.sector-hero,.btc-clean-hero) h1{
    font-size:clamp(2.35rem,9vw,3.65rem)!important;
    line-height:1.18!important;
  }
  body[data-dkc-page]:not([data-dkc-page="index"]) :is(.bc-hero-subtitle,.calc-hero-sub,.btc-hero-tagline){
    font-size:13px!important;
    margin-top:14px!important;
  }
  body[data-dkc-page="chaldean-calculator"] .chal-input{
    font-size:16px!important;
  }
  body[data-dkc-page]:is([data-dkc-page="ngu-hanh-nap-am"],[data-dkc-page="than-so-n9"]) .dkc-year-jump a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px!important;
    min-width:44px!important;
  }
}

body[data-dkc-page="than-so-n9"] .n9-year-section > .dkc-year-jump{
  top:calc(var(--dkc-topbar-h,64px) + 8px)!important;
  background:#050505;
}
