/* PlayCrew V6.4.4 — compact, overflow-safe community cards. */
.community-grid-v632 {
  align-items: start;
}

.community-card-v632 {
  min-width: 0;
  align-self: start;
  isolation: isolate;
}

.community-card-stage {
  height: 178px;
}

.community-mini-pitch {
  top: 21px;
  right: 22px;
  width: 59%;
  height: 132px;
}

.community-scope-chip,
.community-location-chip {
  max-width: calc(100% - 34px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-card-content {
  min-width: 0;
  padding: 18px 20px 20px;
}

.community-owner-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.community-owner-caption {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-member-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 3px 5px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.community-member-preview:hover,
.community-member-preview:focus-visible {
  background: #f0ebf8;
  outline: none;
  transform: translateY(-1px);
}

.community-member-preview .community-avatar-stack {
  flex: 0 0 auto;
}

.community-member-preview .community-avatar-stack > span {
  width: 31px;
  height: 31px;
  margin-left: -8px;
  border-radius: 50%;
  box-shadow: 0 4px 10px #31264b20;
  font-size: 9px;
}

.community-member-preview .community-avatar-stack > span:first-child {
  margin-left: 0;
}

.community-member-preview > strong {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  color: #168878;
  font-size: 12px;
  white-space: nowrap;
}

.community-member-preview > strong i {
  margin-top: 1px;
  color: #6850a6;
  font-size: 9px;
  font-style: normal;
}

.community-roster-summary > span {
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.community-roster-summary > span > b {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-card-content h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 11px 0 5px;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-card-content > p {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.community-next-game {
  grid-template-columns: 62px minmax(0, 1fr) minmax(92px, auto);
  gap: 12px;
  margin: 14px 0;
  padding: 10px;
  overflow: hidden;
}

.next-game-date {
  box-sizing: border-box;
  width: 62px;
  min-width: 62px;
  min-height: 60px;
  justify-content: center;
  overflow: hidden;
  padding: 6px 4px;
}

.next-game-date b {
  line-height: 1;
}

.next-game-date small {
  display: block;
  width: 100%;
  margin-top: 5px;
  overflow: hidden;
  color: #ffd052 !important;
  font-size: 9px !important;
  line-height: 1.1;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.community-next-game > span:nth-child(2) {
  min-width: 0;
}

.community-next-game > span:nth-child(2) > b {
  overflow-wrap: anywhere;
}

.community-next-game em {
  max-width: 100%;
}

.community-next-game > i {
  min-width: 0;
  text-align: right;
}

.community-next-game > i > b {
  white-space: nowrap;
}

.community-card-actions {
  gap: 10px;
  padding-top: 12px;
}

.community-card-primary {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .community-card-stage {
    height: 164px;
  }

  .community-owner-line {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .community-member-preview {
    justify-content: space-between;
  }

  .community-next-game {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .community-next-game > i {
    grid-column: 2;
    align-items: flex-start;
    text-align: left;
  }
}
