body:has(.world-backdrop) { isolation: isolate; }
.world-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--ground);
}
.world-backdrop::before, .world-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
}
.world-backdrop::before {
  inset: -3%;
  background: url("/assets/client/crimson-world.png") center / cover no-repeat;
  transform: translate(var(--scene-x, 0px), var(--scene-y, 0px)) scale(1.025);
}
.world-backdrop canvas { position: absolute; inset: 0; height: 100%; width: 100%; }
.world-backdrop::after {
  background: linear-gradient(90deg, #12090bf0, #12090b9c 40%, #12090b14 76%),
              linear-gradient(0deg, #12090b 0%, transparent 35%);
}
.workspace .world-backdrop::after {
  background: linear-gradient(90deg, #12090bfa 0%, #12090bdc 40%, #12090b7a 100%),
              linear-gradient(0deg, #12090b 0%, transparent 65%);
}
.workspace:has(#dashView[hidden]) .world-backdrop::after {
  background: linear-gradient(90deg, #12090bfa 0%, #12090bdc 40%, #12090b0f 82%),
              linear-gradient(0deg, #12090b 0%, transparent 55%);
}
@media(max-width:680px) {
  .world-backdrop::before { background-position: 73% 35%; }
  .world-backdrop::after {
    background: linear-gradient(0deg, #12090b 0%, #12090bd9 35%, #12090b1c 72%);
  }
  .workspace .world-backdrop::after,
  .workspace:has(#dashView[hidden]) .world-backdrop::after { background: #12090bd9; }
}
