@charset "UTF-8";

.prestige-xf-content {
  padding: 0 16px 18px;
}

.prestige-profile-list {
  margin-top: 14px;
}

.prestige-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 0 16px;
}

.prestige-profile-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sl-line);
  border-radius: var(--sl-radius-card);
  background: var(--sl-surface);
  box-shadow: var(--sl-shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.prestige-profile-image-wrap {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  background: var(--sl-brand-soft);
  overflow: hidden;
}

.prestige-profile-image-wrap img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: opacity 0.35s ease, transform 0.3s ease;
}

.prestige-profile-image-wrap img.lazy-load {
  opacity: 0.5;
}

.prestige-profile-image-wrap img.lazy-loaded {
  opacity: 1;
}

.prestige-profile-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px 11px;
}

.xf-card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.prestige-profile-name {
  min-width: 0;
  color: var(--sl-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.prestige-profile-body .profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 22px;
  margin: 6px 0 0;
  overflow: hidden;
}

.prestige-profile-body .profile-tag {
  padding: 3px 7px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prestige-profile-card:active {
  transform: scale(0.985);
}

.match-load-status {
  text-align: center;
  padding: 12px 0 8px;
  color: var(--sl-muted);
  font-size: 12px;
}

.match-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--sl-muted);
  font-size: 14px;
}

@media (max-width: 359px) {
  .prestige-xf-content {
    padding-inline: 12px;
  }
}
