#fv-mini-study .stage.join-archive {
  position: relative;
  isolation: isolate;
  background: #100d0a;
}

.join-archive::before,
.join-archive::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.join-archive::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgb(13 11 10 / 81%), transparent 30%, transparent 84%, rgb(13 11 10 / 58%)),
    linear-gradient(180deg, rgb(13 11 10 / 36%), transparent 43%, rgb(13 11 10 / 82%)),
    radial-gradient(ellipse at 89% 24%, rgb(114 76 37 / 32%), transparent 57%),
    radial-gradient(ellipse at 14% 65%, rgb(71 43 27 / 26%), transparent 60%),
    url('./assets/join-paper.webp') center / 192px 192px repeat;
  background-color: #15100d;
}

.join-archive::after {
  width: clamp(225px, 29vw, 340px);
  aspect-ratio: 1;
  right: -62px;
  top: 18%;
  background: url('./assets/fkn.svg') center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(73%) sepia(37%) saturate(582%) hue-rotate(355deg);
  opacity: .10;
}

@media (max-width: 650px) {
  .join-archive::before {
    background:
      linear-gradient(180deg, rgb(13 11 10 / 23%), transparent 28%, rgb(13 11 10 / 58%) 70%, rgb(13 11 10 / 89%)),
      radial-gradient(ellipse at 104% 11%, rgb(114 76 37 / 35%), transparent 49%),
      url('./assets/join-paper.webp') center / 192px 192px repeat;
    background-color: #15100d;
  }

  .join-archive::after {
    top: auto;
    bottom: -52px;
    right: -65px;
    width: 204px;
    opacity: .075;
  }
}

/* Reclaim whitespace on short, narrow displays without reducing text or control sizes. */
@media (max-width: 340px) and (max-height: 740px) {
  #fv-mini-study .stage.join-archive #main { padding-top: 12px; }
}
