/* V31.3 optional article hero depth raymarch effect */
.v31-depth-fx-wrap {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #05070b;
}

.v31-depth-fx-wrap > img.stream-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.v31-depth-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 3;
  pointer-events: auto;
  background: #05070b;
}

.v31-depth-fx-active > .v31-depth-fx-canvas {
  display: block;
}

.v31-depth-fx-active > img.stream-hero-img {
  opacity: 0;
}

.v31-depth-fx-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 6;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(5, 7, 11, .72);
  color: rgba(238,244,255,.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.v31-depth-fx-toggle:hover {
  background: rgba(15, 23, 42, .88);
  border-color: rgba(132,182,255,.58);
}

.v31-depth-fx-toggle[disabled] {
  opacity: .55;
  cursor: wait;
}

.v31-depth-fx-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 6;
  display: none;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(132,182,255,.30);
  background: rgba(5, 7, 11, .62);
  color: rgba(219,230,251,.9);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

.v31-depth-fx-active > .v31-depth-fx-badge {
  display: inline-flex;
}

@media (prefers-reduced-motion: reduce) {
  .v31-depth-fx-canvas {
    display: none !important;
  }

  .v31-depth-fx-active > img.stream-hero-img {
    opacity: 1;
  }
}
