.discovery-route .community-discovery {
  align-content: start;
  gap: clamp(28px, 4.6vh, 42px);
  padding-block: 0 clamp(56px, 9vh, 92px);
}

.discovery-route .discovery-intro {
  display: grid;
  place-content: center;
  min-height: 82vh;
  min-height: 82svh;
  padding: 0;
  overflow: hidden;
}

.discovery-hero-mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  display: block;
  width: min(520px, 82vw);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: .13;
  pointer-events: none;
}

.discovery-intro-copy h1 {
  font-size: clamp(48px, 9vw, 96px);
}

.discovery-intro-copy p {
  max-width: 36ch;
  margin-inline: auto;
  line-height: 1.5;
}

.discovery-route .community-server {
  padding: 20px;
  border-color: rgb(208 186 255 / 16%);
  background: linear-gradient(145deg, rgb(41 29 64 / 66%), rgb(15 11 28 / 85%));
}

.discovery-route .community-server:focus-within {
  border-color: rgb(209 184 255 / 36%);
  box-shadow: 0 20px 54px rgb(0 0 0 / 38%);
}

.discovery-route .community-server > .pill {
  min-height: 44px;
}

.discovery-route .community-server-info > .discovery-count-feedback {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.45;
}

.discovery-route .discovery-count-feedback:is([data-state="stale"], [data-state="unavailable"]) {
  color: #ebc49a;
}

@media (hover: hover) {
  .discovery-route .community-server:hover {
    border-color: rgb(209 184 255 / 30%);
    box-shadow: 0 20px 54px rgb(0 0 0 / 36%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .discovery-hero-mark[data-discovery-motion] {
    animation: discovery-mark-pulse 6s ease-in-out infinite alternate paused;
  }

  .discovery-hero-mark[data-discovery-motion="running"] {
    animation-play-state: running;
  }

  @keyframes discovery-mark-pulse {
    from { opacity: .07; }
    to { opacity: .18; }
  }

  .discovery-route .community-server {
    transition: border-color .22s ease, box-shadow .22s ease;
  }
}

@media (max-width: 480px) {
  .discovery-route .community-server {
    padding: 17px;
  }

  .discovery-route .community-server > .pill {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}
