/* Zharief full-screen black shader hero — desktop and mobile */
html, body {
  min-height: 100%;
  background: #02040a !important;
  background-image: none !important;
}

/* Keep the header visually connected to the black hero */
html body header.z-site-header {
  background: #02040a !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
}
html body header.z-site-header a,
html body header.z-site-header button,
html body header.z-site-header .zl-mode-select {
  color: #fff !important;
}

/* The shader fills the entire hero area, not a small inner panel */
html body #search.zl-hero {
  box-sizing: border-box !important;
  position: relative !important;
  width: 100% !important;
  min-height: calc(100vh - 76px) !important;
  min-height: calc(100svh - 76px) !important;
  height: auto !important;
  padding: clamp(56px, 9vh, 110px) 22px !important;
  overflow: hidden !important;
  background: #02040a !important;
  background-image: none !important;
  isolation: isolate !important;
}
html body #search .z-shader-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -1 !important;
  opacity: .96 !important;
}
html body #search .z-shader-canvas canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
html body #search .z-shader-vignette {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.04) 0%, rgba(0,0,0,.28) 72%, rgba(0,0,0,.55) 100%) !important;
}
html body #search .zl-content {
  position: relative !important;
  z-index: 2 !important;
  width: min(100%, 920px) !important;
  margin-inline: auto !important;
  color: #fff !important;
}
html body #search .zl-content h1,
html body #search .zl-content p {
  color: #fff !important;
}

/* Avoid a short/letterboxed shader on narrow screens */
@media (max-width: 760px) {
  html body #search.zl-hero {
    min-height: calc(100vh - 64px) !important;
    min-height: calc(100svh - 64px) !important;
    padding: 54px 18px 70px !important;
    align-items: center !important;
  }
  html body #search .z-shader-canvas,
  html body #search .z-shader-canvas canvas,
  html body #search .z-shader-vignette {
    width: 100% !important;
    height: 100% !important;
  }
}
