.creator-app-shell {
  background: linear-gradient(180deg, #f6f7f9 0%, #eef2f6 100%);
}

.creator-shell-header {
  position: sticky;
  top: 0;
  z-index: 1040;
}

.creator-shell-banner {
  display: block;
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 16px;
  background: #111827;
  color: #f9fafb;
  font-size: 0.95rem;
}

.creator-shell-banner.is-offline {
  background: #991b1b;
}

.creator-shell-banner a {
  color: #fff;
  text-decoration: underline;
}

.creator-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding: 0.85rem 1rem max(0.85rem, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(12px);
  z-index: 1050;
}

.creator-bottom-nav-link {
  flex: 1 1 0;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  color: #4b5563;
  background: #f3f4f6;
  font-weight: 600;
}

.creator-bottom-nav-link.is-active {
  background: #111827;
  color: #fff;
}

.creator-bottom-nav-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.creator-profile-page {
  padding-bottom: 7rem;
}

.creator-profile-hero {
  padding: 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(254, 243, 199, 0.78), transparent 22rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.94) 52%, rgba(30, 41, 59, 0.92));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.creator-profile-hero-copy-wrap {
  max-width: 46rem;
  padding: 0.5rem 0.75rem 0.85rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.14));
  backdrop-filter: blur(5px);
}

.creator-profile-hero .creator-profile-hero-title {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(15, 23, 42, 0.52);
}

.creator-profile-hero-copy {
  max-width: 42rem;
  color: rgba(248, 250, 252, 0.9);
  font-size: 1.05rem;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(15, 23, 42, 0.34);
}

.creator-profile-hero-stats {
  color: rgba(248, 250, 252, 0.92);
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(15, 23, 42, 0.32);
}

.creator-profile-hero-meta {
  color: rgba(226, 232, 240, 0.92);
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(15, 23, 42, 0.32);
}

.creator-intake-shell {
  width: min(100%, 56rem);
  margin: 0 auto;
}

.creator-intake-hero {
  width: min(100%, 52rem);
  padding: 2rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.creator-intake-title {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.creator-intake-hero-copy {
  max-width: 36rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.28);
}

.creator-intake-rail,
.creator-intake-note {
  width: min(100%, 52rem);
  margin-left: auto;
  margin-right: auto;
}

.creator-intake-rail .form-group {
  text-align: left;
}

.creator-intake-rail .btn {
  width: 100%;
}

.creator-intake-note {
  color: #6b7280;
  text-align: center;
  line-height: 1.55;
}

.creator-progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.28);
}

.creator-progress-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.creator-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.creator-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.creator-profile-toolbar {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
}

.creator-profile-search {
  flex: 1 1 280px;
}

.creator-profile-filters {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.creator-profile-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.creator-profile-card h3,
.creator-profile-card h4 {
  color: #111827;
}

.creator-profile-card .form-label {
  font-weight: 600;
  color: #111827;
}

.creator-profile-card .form-control,
.creator-profile-card .form-select {
  min-height: 52px;
  border-radius: 16px;
  border-color: #d1d5db;
}

.creator-profile-card textarea.form-control {
  min-height: 110px;
}

.creator-account-bootstrap-card {
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.creator-account-bootstrap-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: end;
}

.creator-account-bootstrap-actions {
  display: flex;
  align-items: end;
}

.creator-account-bootstrap-actions .btn {
  width: 100%;
  min-height: 52px;
}

.creator-profile-section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.creator-quick-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.creator-install-card,
.creator-settings-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.creator-install-card .btn,
.creator-settings-card .btn {
  min-height: 48px;
  border-radius: 14px;
}

.creator-section-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.creator-summary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}

.creator-mini-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.creator-mini-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.creator-selfie-preview {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  object-fit: cover;
  background: #e5e7eb;
}

.creator-inline-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.creator-hidden-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.creator-file-trigger {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.creator-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.creator-list-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: #f9fafb;
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.creator-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
}

.creator-prompt-modal {
  border-radius: 24px;
}

.creator-install-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(5.75rem + env(safe-area-inset-bottom));
  z-index: 1055;
  background: #111827;
  color: #fff;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.creator-install-banner button,
.creator-install-banner a {
  margin-top: 0.75rem;
}

.creator-mobile-section {
  overflow: hidden;
}

.creator-mobile-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.creator-mobile-section-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #6b7280;
  font-size: 0.92rem;
}

.creator-mobile-question-card {
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.creator-mobile-question-card.is-saving-out {
  opacity: 0;
  transform: translateX(-18px);
}

.creator-mobile-question-card .form-label {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.creator-mobile-section-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .creator-bottom-nav {
    display: none;
  }

  .creator-profile-page {
    padding-bottom: 2rem;
  }

  .creator-install-banner {
    max-width: 420px;
    left: auto;
  }
}

@media (max-width: 767px) {
  .creator-intake-hero {
    padding: 1.5rem;
  }

  .creator-intake-shell {
    width: 100%;
  }

  .creator-list-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .creator-profile-filters {
    width: 100%;
  }

  .creator-profile-toolbar,
  #creatorSectionSummary {
    display: none;
  }

  .creator-profile-grid,
  .creator-settings-grid {
    grid-template-columns: 1fr;
  }

  .creator-profile-hero {
    padding: 1.1rem;
    border-radius: 24px;
  }

  .creator-profile-hero-copy-wrap {
    padding: 0.75rem;
  }

  .creator-profile-section-header {
    flex-direction: column;
  }

  .creator-profile-card {
    padding: 1rem;
  }

  .creator-mobile-section-meta,
  .creator-mobile-section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .creator-mobile-section-actions .btn {
    width: 100%;
  }

  .creator-inline-preview {
    flex-direction: column;
    align-items: flex-start;
  }
}
