body {
  background-color: #f4f5f7;
  background-image: none;
}

.creator-profile-page {
  background: #f4f5f7;
}

.creator-profile-container {
  max-width: 1040px;
}

.creator-profile-shell {
  background: #fff;
  border: 1px solid rgba(18, 24, 32, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(18, 24, 32, 0.1);
  overflow: hidden;
  padding: 28px;
}

.creator-cover {
  min-height: 280px;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.creator-cover-caption {
  margin-bottom: 24px;
}

.creator-hero {
  padding-bottom: 26px;
}

.creator-profile-photo {
  background: #f7f7f8;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 24, 32, 0.12);
  margin: 0;
  overflow: hidden;
}

.creator-profile-photo img {
  aspect-ratio: 4 / 5;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.creator-image-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.creator-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.creator-title-row h1 {
  color: #222832;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.creator-verified {
  background: #158554;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 8px;
}

.creator-demo-badge {
  background: #fde8e8;
  border: 1px solid rgba(190, 24, 24, 0.18);
  border-radius: 5px;
  color: #b42323;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 8px;
}

.creator-short-bio {
  color: #5a606b;
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 18px;
}

.creator-full-bio {
  color: #343a43;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 720px;
  white-space: pre-wrap;
}

.creator-link-group {
  margin: 16px 0;
}

.creator-link-group h2,
.creator-section h2 {
  color: #222832;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}

.creator-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.creator-platform-btn {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 600;
  gap: 6px;
  line-height: 1.2;
  padding: 8px 12px;
}

.creator-link-subscription {
  --bs-btn-color: #c20a78;
  --bs-btn-border-color: #e2178e;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #d81788;
  --bs-btn-hover-border-color: #d81788;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b80d70;
  --bs-btn-active-border-color: #b80d70;
}

.creator-link-social {
  --bs-btn-color: #1f5fae;
  --bs-btn-border-color: #2d74ce;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2d74ce;
  --bs-btn-hover-border-color: #2d74ce;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #245fa8;
  --bs-btn-active-border-color: #245fa8;
}

.creator-feedback {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.creator-feedback-btn {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(138, 0, 79, 0.24);
  border-radius: 7px;
  color: #8a004f;
  display: inline-flex;
  font-weight: 700;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.creator-feedback-btn strong {
  color: inherit;
  font-weight: 800;
}

.creator-feedback-btn:hover,
.creator-feedback-btn:focus {
  background: #fff2fa;
  border-color: #d81788;
  color: #b80d70;
}

.creator-feedback-btn.is-selected {
  background: #d81788;
  border-color: #d81788;
  color: #fff;
}

.creator-feedback-recommend {
  border-color: rgba(21, 133, 84, 0.26);
  color: #13734a;
}

.creator-feedback-recommend:hover,
.creator-feedback-recommend:focus {
  background: #effaf5;
  border-color: #158554;
  color: #13734a;
}

.creator-feedback-recommend.is-selected {
  background: #158554;
  border-color: #158554;
  color: #fff;
}

.creator-feedback-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.creator-feedback-note {
  color: #7a828d;
  flex-basis: 100%;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.creator-shortlink {
  background: transparent;
  border: 0;
  margin: 32px 0 0;
  max-width: 560px;
  padding: 0;
}

.creator-shortlink h2 {
  color: #3a414b;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.creator-shortlink-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.creator-shortlink-url {
  color: #2d74ce;
  flex: 0 1 auto;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.creator-shortlink-url:hover,
.creator-shortlink-url:focus {
  color: #8a004f;
  text-decoration: none;
}

.creator-copy-btn {
  flex: 0 0 auto;
}

.creator-updated,
.creator-caption,
.creator-gallery-item figcaption,
.creator-video-item p {
  color: #6f7681;
  font-size: 13px;
  line-height: 1.45;
}

.creator-updated {
  margin: 20px 0 0;
}

.creator-caption {
  margin: 8px 0 0;
}

.creator-section {
  border-top: 1px solid rgba(18, 24, 32, 0.09);
  padding-top: 28px;
}

.creator-section + .creator-section {
  margin-top: 28px;
}

.creator-gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.creator-gallery-item {
  margin: 0;
}

.creator-gallery-item img {
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  box-shadow: 0 6px 16px rgba(18, 24, 32, 0.1);
  display: block;
  object-fit: cover;
  width: 100%;
}

.creator-gallery-item figcaption {
  margin-top: 8px;
}

.creator-video-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.creator-video-item {
  margin: 0;
}

.creator-video-card {
  background: transparent;
  border: 0;
  color: inherit;
  display: block;
  padding: 0;
  text-align: left;
  width: 100%;
}

.creator-video-thumb {
  align-items: center;
  aspect-ratio: 4 / 5;
  background: #101217;
  border-radius: 7px;
  box-shadow: 0 6px 16px rgba(18, 24, 32, 0.1);
  cursor: pointer;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.creator-video-thumb video {
  background: #101217;
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.creator-video-play {
  align-items: center;
  background: rgba(18, 20, 24, 0.72);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 34px;
  height: 58px;
  justify-content: center;
  left: 50%;
  line-height: 1;
  padding-left: 3px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.16s ease, transform 0.16s ease;
  width: 58px;
}

.creator-video-card:hover .creator-video-play,
.creator-video-card:focus-visible .creator-video-play {
  background: rgba(216, 23, 136, 0.9);
  transform: translate(-50%, -50%) scale(1.04);
}

.creator-video-card:focus-visible {
  border-radius: 7px;
  outline: 3px solid rgba(216, 23, 136, 0.28);
  outline-offset: 3px;
}

.creator-video-item p {
  margin: 8px 0 0;
  padding: 0;
}

.creator-video-modal .modal-content {
  background: #111318;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.creator-video-modal .modal-header {
  background: #fff;
  border-bottom: 0;
}

.creator-video-modal .modal-body {
  align-items: center;
  background: #111318;
  display: flex;
  justify-content: center;
  padding: 0;
}

.creator-video-modal video {
  display: block;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  width: 100%;
}

.creator-profile-contact {
  border-top: 1px solid rgba(18, 24, 32, 0.09);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
}

.creator-profile-contact p {
  color: #68717d;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 620px;
}

.creator-profile-contact a {
  color: #8a004f;
  font-weight: 700;
  text-decoration: none;
}

.creator-profile-contact a:hover {
  text-decoration: underline;
}

.creator-empty {
  align-items: center;
  background: #f7f8fa;
  border: 1px dashed rgba(18, 24, 32, 0.18);
  border-radius: 8px;
  color: #68717d;
  display: flex;
  gap: 10px;
  justify-content: center;
  min-height: 92px;
  padding: 18px;
  text-align: center;
}

.creator-empty i {
  color: #8a314f;
  font-size: 22px;
}

.creator-empty p,
.creator-empty span {
  color: #68717d;
  margin: 0;
}

.creator-empty-compact {
  justify-content: flex-start;
  margin-top: 18px;
  min-height: 0;
  padding: 12px 14px;
  text-align: left;
}

@media (max-width: 991.98px) {
  .creator-profile-container {
    max-width: 760px;
  }

  .creator-profile-shell {
    padding: 24px;
  }

  .creator-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .creator-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .creator-profile-page {
    background: #fff;
  }

  .creator-profile-container.py-4 {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }

  .creator-profile-shell {
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    box-shadow: none;
    padding: 18px;
  }

  .creator-profile-container {
    padding-left: 0;
    padding-right: 0;
  }

  .creator-cover {
    min-height: 190px;
  }

  .creator-profile-photo {
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
  }

  .creator-title-row {
    justify-content: center;
    text-align: center;
  }

  .creator-title-row h1 {
    font-size: 28px;
  }

  .creator-short-bio {
    font-size: 17px;
    text-align: center;
  }

  .creator-full-bio {
    font-size: 15px;
    line-height: 1.65;
    max-width: none;
  }

  .creator-link-group h2,
  .creator-section h2 {
    font-size: 19px;
  }

  .creator-link-list {
    gap: 8px;
  }

  .creator-platform-btn {
    min-height: 42px;
  }

  .creator-feedback {
    align-items: stretch;
  }

  .creator-feedback-btn {
    flex: 1 1 220px;
    justify-content: center;
  }

  .creator-shortlink-row {
    align-items: stretch;
    flex-direction: column;
  }

  .creator-copy-btn {
    width: 100%;
  }

  .creator-gallery-grid {
    gap: 14px;
  }

  .creator-video-grid {
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-empty {
    align-items: center;
    flex-direction: column;
    gap: 8px;
    min-height: 84px;
  }

  .creator-empty-compact {
    align-items: flex-start;
    flex-direction: row;
    text-align: left;
  }

}

@media (max-width: 480px) {
  .creator-profile-shell {
    padding: 14px;
  }

  .creator-cover {
    min-height: 150px;
  }

  .creator-gallery-grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-video-grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-platform-btn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .creator-feedback-btn {
    flex-basis: 100%;
  }

}

@media (max-width: 360px) {
  .creator-gallery-grid {
    grid-template-columns: 1fr;
  }

  .creator-video-grid {
    grid-template-columns: 1fr;
  }

  .creator-platform-btn {
    flex-basis: 100%;
  }
}
