/* BitcoinOrbit V15.8.9 — uniform full-site Matrix background.
   Solid black under one canvas; no route-dependent tint/black veils on page sections.
   Opaque chart cards and controls intentionally retain their existing contrast. */
html, body {
  background-color: #000 !important;
  background-image: none !important;
  color-scheme: dark;
}
body:not(.legal-page):not(.debt-page), body.legal-page, body.debt-page {
  background: #000 !important;
}
#bo-matrix-rain {
  position: fixed;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .96;
  contain: strict;
  transition: opacity .3s ease;
}
body.bo-matrix-disabled #bo-matrix-rain {
  opacity: 0;
  visibility: hidden;
}
/* Site content always stays over the Matrix rain; the rain cannot capture clicks/touches. */
body > header,
body > main,
body > .wrap,
body > footer,
body > .footer {
  position: relative;
  z-index: 1;
}
/* Main route wrappers are entirely clear. Former .72–.82 black overlays dimmed
   the Matrix on the start page and several tabs, unlike the market view. */
body #inhalt,
body #inhalt > .v9-home,
body #inhalt > section.section,
body #inhalt > section.section-alt,
body #inhalt > section.strategy-lab-section,
body #inhalt > section.analytics-zone,
body #inhalt > section:target,
body #inhalt > section[data-studio-route],
body #inhalt > .home-stage {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}
/* Also handle a nested section background without altering chart/card surfaces. */
body #inhalt .section-alt:not(.surface):not(.card):not(.panel),
body #inhalt .strategy-lab-section:not(.surface):not(.card),
body #inhalt .v9-home:not(.surface):not(.card) {
  background: transparent !important;
  background-image: none !important;
}
body .footer, body footer {
  background: transparent !important;
  background-image: none !important;
}
/* Preserve the dark navigation bar while the backdrop itself remains black. */
body .header {
  background: rgba(0, 0, 0, .92) !important;
}
/* Separate documents use the same fully black base and shared fixed canvas. */
body.legal-page main.legal-main,
body.debt-page main.wrap {
  position: relative;
  z-index: 1;
  background: transparent !important;
  background-image: none !important;
}
/* Readable free-standing headings over falling characters; cards stay untouched. */
body #inhalt > .v9-home .v9-intro,
body #inhalt > section.section > .section-heading,
body .legal-main > :is(h1,h2,p),
body.debt-page > main.wrap > :is(h1,h2,p) {
  text-shadow: 0 1px 4px #000b;
}
.bo-matrix-control {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  margin-top: 5px;
  padding: 4px 8px;
  min-height: 28px;
  color: #c4ebd8;
  border: 1px solid #317a52;
  border-radius: 8px;
  background: #09110de8;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.bo-matrix-control:hover { border-color:#79ffb5; color:#e6ffef; background:#0f1b14; }
.bo-matrix-control:focus-visible { outline:2px solid #7fe3a5; outline-offset:3px; }
.bo-matrix-control[aria-pressed="false"] { opacity:.78; }
.bo-matrix-control-dot { width:6px; height:6px; border-radius:50%; background:#62ff9c; box-shadow:0 0 9px #62ff9cb8; }
.bo-matrix-control[aria-pressed="false"] .bo-matrix-control-dot { background:#8c98a7; box-shadow:none; }
@media(max-width:760px) {
  #bo-matrix-rain { opacity: .96; }
  .bo-matrix-control { margin-left:0; min-height:34px; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
  #bo-matrix-rain { transition:none; }
}
