/* The shared landscape sits below the transparent WebGL canvases. */
.river-backdrop-host { isolation: isolate; }
.river-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.river-backdrop[hidden] { display: none; }
.river-backdrop--map { opacity: 1; }
.river-backdrop--exhibit { opacity: .68; }

#island.river-backdrop-host { background: #dfe6d7; }
#island.river-backdrop-host::before,
.community-atlas.river-backdrop-host::before { content: none; }
#island > canvas { z-index: 1; }
#island > .island-labels { z-index: 2; }
#island > :is(#landmark-name, #scene-status, .scene-error) { z-index: 3; }
#island > :is(.competition-flight-target, .saig-fallback-trigger) { z-index: 4; }

.community-atlas > .river-backdrop { inset: clamp(101px, 9vw, 121px) 0 53px; }
#community-model, #saig-model { z-index: 1; }
.community-atlas > :is(.community-original, .community-caption, .community-model-controls, .community-model-foot) { z-index: 2; }
.saig-frame.river-backdrop-host { overflow: hidden; }
.saig-frame > :is(.saig-avatar, .saig-flat) { z-index: 2; }

@media (max-width: 760px) {
  .community-atlas > .river-backdrop { inset: 65px 0 32px; }
  .community-atlas[data-pitch] > .river-backdrop { bottom: 80px; }
}

@media (forced-colors: active) {
  .river-backdrop { display: none; }
}
