.workbench-ambient-canvas,
.platform-ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.36;
  filter: saturate(1.02);
}

.platform-ambient-page .platform-ambient-canvas {
  opacity: 0.52;
  filter: saturate(1.12) contrast(1.04);
}

.workbench-click-hearts,
.platform-click-hearts {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.workbench-click-heart,
.platform-click-heart {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #f00;
  transform: rotate(45deg);
  will-change: transform, opacity;
}

.workbench-click-heart::before,
.workbench-click-heart::after,
.platform-click-heart::before,
.platform-click-heart::after {
  content: '';
  position: absolute;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  background: inherit;
}

.workbench-click-heart::before,
.platform-click-heart::before {
  left: -5px;
}

.workbench-click-heart::after,
.platform-click-heart::after {
  top: -5px;
}

.platform-ambient-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.hero-band {
  isolation: isolate;
}

.hero-inner,
.personal-workbench,
.entry-section,
footer {
  position: relative;
  z-index: 3;
}

html[data-color-mode='dark'] .workbench-ambient-canvas,
html[data-color-mode='dark'] .platform-ambient-canvas {
  opacity: 0.66;
  filter: saturate(1.22) brightness(1.06);
}

body.is-authenticated .workbench-ambient-canvas,
body.is-authenticated .platform-ambient-canvas {
  opacity: 0.58;
  filter: saturate(1.26) brightness(1.1);
}

body.share-preview-mode .workbench-ambient-canvas,
body.share-preview-mode .platform-ambient-canvas,
body.share-preview-mode .workbench-click-hearts,
body.share-preview-mode .platform-click-hearts {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .workbench-ambient-canvas,
  .platform-ambient-canvas,
  .workbench-click-hearts,
  .platform-click-hearts {
    display: none;
  }
}
