.creator-profile-modal,
.creator-profile-modal * {
  box-sizing: border-box;
}

.creator-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.creator-profile-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.creator-profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.creator-profile-dialog {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  width: min(100%, 690px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px;
  color: #f7f7f7;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #121418;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  transform: translateY(10px) scale(0.985);
  transition: transform 180ms ease;
}

.creator-profile-modal.is-open .creator-profile-dialog {
  transform: translateY(0) scale(1);
}

.creator-profile-dialog:focus {
  outline: none;
}

.creator-profile-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}

.creator-profile-close:hover,
.creator-profile-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.creator-profile-photo-wrap {
  position: relative;
  width: 210px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(242, 150, 32, 0.25);
  border-radius: 17px;
  background: #0d0f12;
}

.creator-profile-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.creator-profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  image-rendering: auto;
}

.creator-profile-content {
  min-width: 0;
  padding: 12px 34px 8px 0;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
}

.creator-profile-role {
  display: block;
  margin-bottom: 7px;
  color: #f29620;
  font: 600 12px/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.creator-profile-name {
  margin: 0 0 12px;
  color: #fff;
  font: 700 27px/1.18 Arial, Helvetica, sans-serif;
  letter-spacing: -0.025em;
}

.creator-profile-bio {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font: 400 14px/1.65 Arial, Helvetica, sans-serif;
}

.creator-profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.creator-profile-social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.creator-profile-social:hover,
.creator-profile-social:focus-visible {
  color: #f29620;
  border-color: rgba(242, 150, 32, 0.4);
  background: rgba(242, 150, 32, 0.07);
  transform: translateY(-2px);
  outline: none;
}

.creator-profile-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.72);
  font: 700 12px/1.4 Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.creator-profile-more:hover,
.creator-profile-more:focus-visible {
  color: #f29620;
  outline: none;
}

body.creator-profile-modal-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .creator-profile-modal {
    align-items: end;
    padding: 10px;
  }

  .creator-profile-dialog {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 22px 18px;
    border-radius: 19px;
  }

  .creator-profile-close {
    top: 12px;
    right: 12px;
  }

  .creator-profile-photo-wrap {
    width: 92px;
    border-radius: 14px;
  }

  .creator-profile-content {
    padding: 18px 28px 4px 0;
  }

  .creator-profile-role {
    font-size: 10px;
  }

  .creator-profile-name {
    margin-bottom: 8px;
    font-size: 21px;
  }

  .creator-profile-bio {
    grid-column: 1 / -1;
    font-size: 13px;
  }

  .creator-profile-socials {
    margin-top: 15px;
  }

  .creator-profile-more {
    grid-column: 1 / -1;
    margin-top: 13px;
  }

  .creator-profile-social {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 390px) {
  .creator-profile-dialog {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
  }

  .creator-profile-photo-wrap {
    width: 78px;
  }

  .creator-profile-name {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .creator-profile-modal,
  .creator-profile-dialog,
  .creator-profile-social {
    transition: none;
  }
}
