/* forge/barriers.css — raised backdrop rims (v0.94.44)
 * Barriers are slices of the zone background sitting above the walkable floor.
 */
.zone-barrier {
  position: absolute;
  box-sizing: border-box;
  pointer-events: none;
  /* slight perspective weight */
  filter: brightness(0.92) contrast(1.05);
}

/* Rim continues the zone art — cast shadow onto the floor so it feels high */
.zone-barrier.is-backdrop-rim {
  z-index: 3;
}

.zone-barrier.is-top.is-backdrop-rim {
  box-shadow:
    0 10px 14px rgba(0, 0, 0, 0.45),
    0 3px 0 rgba(0, 0, 0, 0.25);
  /* darken lower lip (toward floor) */
  background-blend-mode: normal;
}

.zone-barrier.is-bottom.is-backdrop-rim {
  box-shadow:
    0 -10px 14px rgba(0, 0, 0, 0.45),
    0 -3px 0 rgba(0, 0, 0, 0.25);
}

.zone-barrier.is-left.is-backdrop-rim {
  box-shadow:
    10px 0 14px rgba(0, 0, 0, 0.45),
    3px 0 0 rgba(0, 0, 0, 0.25);
}

.zone-barrier.is-right.is-backdrop-rim {
  box-shadow:
    -10px 0 14px rgba(0, 0, 0, 0.45),
    -3px 0 0 rgba(0, 0, 0, 0.25);
}

/* Soft cliff gradient overlay via pseudo — height cue */
.zone-barrier.is-backdrop-rim::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.zone-barrier.is-top.is-backdrop-rim::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.zone-barrier.is-bottom.is-backdrop-rim::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.zone-barrier.is-left.is-backdrop-rim::after {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.zone-barrier.is-right.is-backdrop-rim::after {
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.zone-barrier.is-vert {
  /* vertical rims */
}
.zone-barrier.is-horiz {
  /* horizontal rims */
}

.zone-barrier.is-custom-art {
  filter: none;
}
