#profilePanel #profileQrCard.profile-qr-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 252px) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 20px !important;
  overflow: visible;
}

#profileQrCard .profile-qr-frame {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: min(252px, 100%);
  aspect-ratio: 1;
  padding: 16px;
  overflow: visible;
  border-radius: 16px;
  background: #fff;
}

#profileQrCard .profile-qr-frame img {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  object-fit: contain;
  image-rendering: pixelated;
}

#profileQrCard .profile-qr-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  #profilePanel #profileQrCard.profile-qr-card {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 16px;
    padding: 18px !important;
    text-align: center;
  }

  #profileQrCard .profile-qr-frame {
    width: min(252px, 100%);
  }
}
