.team-route .community-team {
  width: min(850px, calc(100% - 48px));
  padding-block: clamp(70px, 11vh, 112px) clamp(72px, 12vh, 124px);
}

.team-route .team-intro {
  margin-bottom: clamp(32px, 5vw, 52px);
  text-align: center;
}

.team-route .team-intro h1 {
  margin: 0;
  color: #f7f0ff;
  font-size: clamp(35px, 5.35vw, 66px);
  font-weight: 740;
  letter-spacing: -.055em;
  line-height: 1.1;
  text-wrap: balance;
}

.team-route .team-intro h1 span {
  color: #c3a7fa;
}

.team-route .team-owner-card {
  --profile-banner-height: clamp(158px, 24vw, 238px);
  width: 100%;
  margin: 0 auto;
  border-color: rgb(211 181 255 / 20%);
  border-radius: 23px;
  background: linear-gradient(125deg, #231732, #110d1e 70%);
  box-shadow: 0 25px 70px rgb(6 3 14 / 45%);
}

.team-route .team-owner-card .community-team-banner {
  flex: 0 0 var(--profile-banner-height);
  height: var(--profile-banner-height);
  border-bottom: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgb(23 15 33 / 84%)),
    url("/assets/flirt-team-prisms.webp") center 30% / cover no-repeat,
    #201533;
}

.team-route .team-owner-card .community-team-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 23px 30px 28px;
}

.team-route .team-owner-avatar {
  position: relative;
  display: block;
  align-self: start;
  width: 104px;
  height: 104px;
  margin-top: -67px;
  border: 5px solid #171022;
  border-radius: 50%;
  background: #211633;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgb(201 166 251 / 45%), 0 9px 24px rgb(0 0 0 / 45%);
}

.team-route .team-owner-identity h2 {
  margin: 0;
  color: #f7f0ff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 740;
  letter-spacing: -.047em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.team-route .team-owner-identity .team-owner-role {
  margin: 6px 0 0;
  color: #d7c1f6;
  font-size: .9375rem;
  font-weight: 625;
}

.team-route .team-owner-card .team-profile-link {
  gap: 8px;
  min-height: 46px;
  padding: 9px 15px;
  border: 1px solid rgb(208 174 255 / 29%);
  border-radius: 999px;
  background: linear-gradient(135deg, #443067, #2b2042);
  color: #fff3ff;
  font-size: .875rem;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

.team-route .team-owner-card .team-profile-link:hover {
  border-color: #c4a6f5;
  background: #49316e;
  text-decoration: none;
}

.team-route .team-profile-link:focus-visible {
  outline: 2px solid #e0c8ff;
  outline-offset: 4px;
}

@media (max-width: 615px) {
  .team-route .community-team {
    width: calc(100% - 40px);
    padding-block: 66px 60px;
  }

  .team-route .team-owner-card .community-team-banner {
    background-position: center, 72% center, center;
  }

  .team-route .team-owner-card .community-team-body {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 16px;
    padding: 23px 20px 26px;
    text-align: center;
  }

  .team-route .team-owner-avatar {
    width: 92px;
    height: 92px;
    margin-top: -67px;
  }

  .team-route .team-profile-link {
    width: min(215px, 100%);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .team-route .team-owner-card {
    animation: route-enter .58s cubic-bezier(.16, 1, .3, 1) .2s backwards;
  }
}
